Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001101/0.001101, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001236/0.001236, allocations: 165.8 kB / 24.84 MB, free: 8.711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.025/1.025, allocations: 158.6 MB / 186.7 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1486/0.1486, allocations: 32.38 MB / 271.5 MB, free: 14.4 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.21e-07/7.21e-07, allocations: 0 / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.715e-06/8.436e-06, allocations: 2.312 kB / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.004539/0.004547, allocations: 7.333 MB / 356.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.007275, allocations: 2.306 MB / 358.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004075/0.007683, allocations: 27.94 kB / 358.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.009554, allocations: 1.874 MB / 360.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.01066, allocations: 0.7298 MB / 361.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.01181, allocations: 1.032 MB / 362.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.01296, allocations: 1.494 MB / 363.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.01397, allocations: 0.9145 MB / 364.6 MB, free: 9.367 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007459/0.01472, allocations: 0.8886 MB / 365.5 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004502/0.01517, allocations: 0.5883 MB / 366.1 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.01527, allocations: 112 kB / 366.2 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004447/0.01571, allocations: 323.5 kB / 366.5 MB, free: 7.461 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.01587, allocations: 306.8 kB / 366.8 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.01619, allocations: 474.7 kB / 367.3 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.01723, allocations: 1.23 MB / 368.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.01724, allocations: 4 kB / 368.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.01724, allocations: 3.984 kB / 368.5 MB, free: 5.453 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.659e-06/0.01725, allocations: 0 / 368.5 MB, free: 5.453 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.005226/0.02247, allocations: 2.49 MB / 371 MB, free: 2.918 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.0225, allocations: 12.03 kB / 371 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007787/0.03029, allocations: 1.849 MB / 372.9 MB, free: 1.055 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007256/0.03102, allocations: 0.5639 MB / 373.4 MB, free: 472 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.803e-05/0.0311, allocations: 95.09 kB / 373.5 MB, free: 376 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.03127, allocations: 140.3 kB / 373.7 MB, free: 236 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.03272, allocations: 1.181 MB / 374.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/0.03275, allocations: 192 / 374.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.03286, allocations: 63.88 kB / 374.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.03288, allocations: 40 kB / 375 MB, free: 14.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.03396, allocations: 0.7406 MB / 375.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00531/0.03927, allocations: 4.415 MB / 380.1 MB, free: 9.547 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.04043, allocations: 0.9255 MB / 381 MB, free: 8.621 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004055/0.04083, allocations: 317.8 kB / 381.3 MB, free: 8.301 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-05/0.04091, allocations: 40.98 kB / 381.4 MB, free: 8.262 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.04095, allocations: 50.33 kB / 381.4 MB, free: 8.203 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 2.785e-06/0.04095, allocations: 0 / 381.4 MB, free: 8.203 MB / 314.7 MB Notification: Performance of matching and sorting (n=129): time 0.005581/0.04653, allocations: 2.332 MB / 383.8 MB, free: 5.855 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.04657, allocations: 94.05 kB / 383.9 MB, free: 5.746 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.04693, allocations: 478.1 kB / 384.3 MB, free: 5.262 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.183e-05/0.04699, allocations: 45.7 kB / 384.4 MB, free: 5.211 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.04727, allocations: 0.5502 MB / 384.9 MB, free: 4.652 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.04756, allocations: 452.1 kB / 385.4 MB, free: 4.207 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/0.04787, allocations: 244.4 kB / 385.6 MB, free: 3.957 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.04805, allocations: 0.5663 MB / 386.2 MB, free: 3.379 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.04837, allocations: 195.2 kB / 386.4 MB, free: 3.191 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.0489, allocations: 0.5999 MB / 387 MB, free: 2.434 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009122/0.04981, allocations: 0.8802 MB / 387.8 MB, free: 1.398 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.04982, allocations: 4 kB / 387.8 MB, free: 1.395 MB / 314.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001613/0.05143, allocations: 1.106 MB / 388.9 MB, free: 284 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.05145, allocations: 8 kB / 389 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.05146, allocations: 8 kB / 389 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009341/0.0524, allocations: 421.3 kB / 389.4 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/0.05293, allocations: 207.7 kB / 389.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001353/0.05307, allocations: 64.08 kB / 389.6 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.0535, allocations: 131 kB / 389.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.332e-05/0.05358, allocations: 43.98 kB / 389.8 MB, free: 15.41 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (120): * Single equations (assignments): 119 * 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.0002493/0.05383, allocations: 236.2 kB / 390 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.054, allocations: 119.5 kB / 390.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.05539, allocations: 1.018 MB / 391.2 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.05541, allocations: 12 kB / 391.2 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.05541, allocations: 7.938 kB / 391.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.05542, allocations: 11.95 kB / 391.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.05783, allocations: 1.849 MB / 393.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.05784, allocations: 0 / 393.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/0.05825, allocations: 143.8 kB / 393.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008684/0.05912, allocations: 402.6 kB / 393.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/0.05918, allocations: 24 kB / 393.6 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.09e-05/0.05924, allocations: 31.66 kB / 393.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.05924, allocations: 7.875 kB / 393.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.06102, allocations: 1.421 MB / 395.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.06133, allocations: 203 kB / 395.3 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.943e-05/0.06142, allocations: 23.98 kB / 395.3 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.06179, allocations: 47.98 kB / 395.3 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.06192, allocations: 89.03 kB / 395.4 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.642e-05/0.06198, allocations: 31.98 kB / 395.5 MB, free: 9.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.06215, allocations: 275 kB / 395.7 MB, free: 9.387 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06215, allocations: 4.031 kB / 395.7 MB, free: 9.383 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007459/0.06289, allocations: 359.2 kB / 396.1 MB, free: 9.031 MB / 330.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 (86): * Single equations (assignments): 85 * 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.000211/0.06311, allocations: 159 kB / 396.2 MB, free: 8.863 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.06451, allocations: 0.8723 MB / 397.1 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.06451, allocations: 0 / 397.1 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008865/0.0654, allocations: 0.5088 MB / 397.6 MB, free: 7.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.06596, allocations: 129.8 kB / 397.7 MB, free: 7.355 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.06848, allocations: 1.884 MB / 399.6 MB, free: 5.426 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.06864, allocations: 207.2 kB / 399.8 MB, free: 5.203 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003489/0.06899, allocations: 110.8 kB / 399.9 MB, free: 5.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/0.06932, allocations: 206.1 kB / 400.1 MB, free: 4.887 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.06932, allocations: 0 / 400.1 MB, free: 4.887 MB / 330.7 MB Notification: Performance of Templates: time 0.01813/0.08745, allocations: 13.5 MB / 413.6 MB, free: 7.453 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6774133257567883]