Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009593/0.0009593, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.982/0.982, allocations: 177.2 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.289/0.289, allocations: 32.81 MB / 294.3 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.548e-05/3.747e-05, allocations: 4.844 kB / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009043/0.009081, allocations: 7.53 MB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004114/0.0132, allocations: 2.353 MB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009419/0.01414, allocations: 31.94 kB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00254/0.01668, allocations: 1.917 MB / 387.9 MB, free: 8.797 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.01826, allocations: 0.7298 MB / 388.6 MB, free: 8.062 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.01965, allocations: 1.044 MB / 389.6 MB, free: 7.016 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001569/0.02122, allocations: 1.451 MB / 391.1 MB, free: 5.555 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.02245, allocations: 0.9183 MB / 392 MB, free: 4.617 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009655/0.02341, allocations: 0.8652 MB / 392.9 MB, free: 3.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006708/0.02408, allocations: 0.5727 MB / 393.4 MB, free: 3.176 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002091/0.02429, allocations: 116 kB / 393.5 MB, free: 3.062 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006512/0.02494, allocations: 327.5 kB / 393.9 MB, free: 2.742 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.02511, allocations: 302.8 kB / 394.2 MB, free: 2.445 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003825/0.02549, allocations: 462.8 kB / 394.6 MB, free: 1.992 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.0268, allocations: 1.23 MB / 395.8 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.0268, allocations: 0 / 395.8 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0268, allocations: 0 / 395.8 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.578e-05/0.02684, allocations: 4 kB / 395.8 MB, free: 0.7539 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.004458/0.03129, allocations: 2.462 MB / 398.3 MB, free: 14.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.03134, allocations: 8.031 kB / 398.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005032/0.03637, allocations: 1.651 MB / 400 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009001/0.03727, allocations: 0.5523 MB / 400.5 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.543e-05/0.03734, allocations: 99 kB / 400.6 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.03751, allocations: 136.3 kB / 400.7 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.03909, allocations: 1.262 MB / 402 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.03912, allocations: 192 / 402 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-05/0.03921, allocations: 55.94 kB / 402.1 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/0.03924, allocations: 39.98 kB / 402.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.04046, allocations: 0.873 MB / 403 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004982/0.04544, allocations: 4.341 MB / 407.3 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.04663, allocations: 0.9717 MB / 408.3 MB, free: 3.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004792/0.04711, allocations: 381.1 kB / 408.7 MB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.04722, allocations: 48.91 kB / 408.7 MB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.04726, allocations: 54.33 kB / 408.8 MB, free: 3.508 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 4.429e-06/0.04726, allocations: 0 / 408.8 MB, free: 3.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.004675/0.05193, allocations: 2.45 MB / 411.2 MB, free: 1.039 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.05198, allocations: 90.11 kB / 411.3 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.05232, allocations: 466.4 kB / 411.8 MB, free: 472 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.05238, allocations: 41.7 kB / 411.8 MB, free: 424 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.05268, allocations: 0.523 MB / 412.3 MB, free: 15.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.05294, allocations: 444.2 kB / 412.8 MB, free: 15.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003025/0.05324, allocations: 240.5 kB / 413 MB, free: 15.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002713/0.05351, allocations: 0.5548 MB / 413.5 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/0.05392, allocations: 250.5 kB / 413.8 MB, free: 14.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.05445, allocations: 0.5939 MB / 414.4 MB, free: 13.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.0557, allocations: 0.9161 MB / 415.3 MB, free: 12.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.05571, allocations: 4 kB / 415.3 MB, free: 12.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001511/0.05722, allocations: 1.179 MB / 416.5 MB, free: 11.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.05724, allocations: 13.86 kB / 416.5 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.05726, allocations: 8 kB / 416.5 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008273/0.05808, allocations: 425.2 kB / 416.9 MB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.05849, allocations: 195.7 kB / 417.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000107/0.0586, allocations: 64.08 kB / 417.2 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.05894, allocations: 119.1 kB / 417.3 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.059, allocations: 47.98 kB / 417.3 MB, free: 10.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0002479/0.05925, allocations: 236.2 kB / 417.6 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.05938, allocations: 115.5 kB / 417.7 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.06103, allocations: 1.135 MB / 418.8 MB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.06104, allocations: 16 kB / 418.8 MB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.06105, allocations: 0 / 418.8 MB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.06106, allocations: 3.984 kB / 418.8 MB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.0634, allocations: 2.08 MB / 420.9 MB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.0634, allocations: 4 kB / 420.9 MB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.06373, allocations: 139.8 kB / 421.1 MB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007356/0.06447, allocations: 418.7 kB / 421.5 MB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.919e-05/0.06453, allocations: 31.98 kB / 421.5 MB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001505/0.06468, allocations: 67.62 kB / 421.6 MB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.06468, allocations: 0 / 421.6 MB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.06652, allocations: 1.663 MB / 423.2 MB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.06679, allocations: 203.1 kB / 423.4 MB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.972e-05/0.06686, allocations: 20 kB / 423.4 MB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.06712, allocations: 48.02 kB / 423.5 MB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.06729, allocations: 81.14 kB / 423.6 MB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-05/0.06734, allocations: 36 kB / 423.6 MB, free: 4.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001865/0.06753, allocations: 287 kB / 423.9 MB, free: 3.898 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06753, allocations: 0 / 423.9 MB, free: 3.898 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006464/0.06818, allocations: 355.2 kB / 424.2 MB, free: 3.551 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002486/0.06842, allocations: 171 kB / 424.4 MB, free: 3.375 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.06985, allocations: 0.9641 MB / 425.4 MB, free: 2.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.06985, allocations: 0 / 425.4 MB, free: 2.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.07092, allocations: 0.5664 MB / 425.9 MB, free: 1.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.07137, allocations: 113.9 kB / 426 MB, free: 1.727 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.07403, allocations: 1.911 MB / 427.9 MB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.07417, allocations: 199.2 kB / 428.1 MB, free: 15.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002573/0.07442, allocations: 106.4 kB / 428.2 MB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.07456, allocations: 64.48 kB / 428.3 MB, free: 15.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.523e-06/0.07456, allocations: 0 / 428.3 MB, free: 15.39 MB / 410.7 MB Notification: Performance of Templates: time 0.01676/0.09132, allocations: 13.32 MB / 441.6 MB, free: 2.215 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.701360776089132]