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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009726/0.0009728, allocations: 103.8 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.341/0.341, allocations: 44.13 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 55.92 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3817, allocations: 60.8 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007418/0.3892, allocations: 7.676 MB / 0.5139 GB, free: 32.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004401/0.3936, allocations: 2.349 MB / 0.5162 GB, free: 31.1 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006579/0.3943, allocations: 26.09 kB / 0.5162 GB, free: 31.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003079/0.3974, allocations: 1.722 MB / 0.5179 GB, free: 30.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.3992, allocations: 0.789 MB / 0.5186 GB, free: 29.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.4009, allocations: 0.8315 MB / 0.5195 GB, free: 29.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.4022, allocations: 1.362 MB / 0.5208 GB, free: 28.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.4034, allocations: 0.9051 MB / 0.5217 GB, free: 27.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005875/0.404, allocations: 0.5642 MB / 0.5222 GB, free: 27.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005614/0.4046, allocations: 0.7113 MB / 0.5229 GB, free: 27.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.4047, allocations: 83.28 kB / 0.523 GB, free: 27.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006404/0.4054, allocations: 301.3 kB / 0.5233 GB, free: 27.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.4055, allocations: 271.1 kB / 0.5235 GB, free: 27.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004229/0.406, allocations: 0.6227 MB / 0.5242 GB, free: 26.65 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.4072, allocations: 1.69 MB / 0.5258 GB, free: 25.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4072, allocations: 0 / 0.5258 GB, free: 25.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4072, allocations: 3.938 kB / 0.5258 GB, free: 25.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.4072, allocations: 3.938 kB / 0.5258 GB, free: 25.93 MB / 378.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.006302/0.4135, allocations: 2.379 MB / 0.5281 GB, free: 24.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4136, allocations: 8.031 kB / 0.5281 GB, free: 24.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008864/0.4224, allocations: 1.392 MB / 0.5295 GB, free: 24.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.4236, allocations: 0.6003 MB / 0.5301 GB, free: 24.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.347e-05/0.4237, allocations: 96.14 kB / 0.5302 GB, free: 24.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.4239, allocations: 131.3 kB / 0.5303 GB, free: 24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.4261, allocations: 1.488 MB / 0.5318 GB, free: 23.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.4262, allocations: 0 / 0.5318 GB, free: 23.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.4263, allocations: 56.56 kB / 0.5318 GB, free: 23.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.4263, allocations: 31.28 kB / 0.5318 GB, free: 23.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/0.4287, allocations: 1.51 MB / 0.5333 GB, free: 22.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006712/0.4355, allocations: 5.39 MB / 0.5386 GB, free: 19.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.4375, allocations: 2.179 MB / 0.5407 GB, free: 17.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008392/0.4383, allocations: 0.6515 MB / 0.5413 GB, free: 17.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.4385, allocations: 101.1 kB / 0.5414 GB, free: 17.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.4385, allocations: 45.94 kB / 0.5415 GB, free: 17.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 3.767e-06/0.4385, allocations: 0 / 0.5415 GB, free: 17.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.009326/0.4479, allocations: 3.096 MB / 0.5445 GB, free: 16.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.448, allocations: 90.55 kB / 0.5446 GB, free: 15.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000766/0.4488, allocations: 471.4 kB / 0.545 GB, free: 15.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.961e-05/0.4489, allocations: 42.2 kB / 0.5451 GB, free: 15.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/0.4492, allocations: 471.4 kB / 0.5455 GB, free: 15.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004551/0.4497, allocations: 416.5 kB / 0.5459 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000397/0.4501, allocations: 214.2 kB / 0.5461 GB, free: 14.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4503, allocations: 385.9 kB / 0.5465 GB, free: 14.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009123/0.4512, allocations: 456.1 kB / 0.5469 GB, free: 14.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.4522, allocations: 0.698 MB / 0.5476 GB, free: 13.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.454, allocations: 1.193 MB / 0.5488 GB, free: 13.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.4541, allocations: 2.438 kB / 0.5488 GB, free: 13.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002899/0.457, allocations: 1.59 MB / 0.5503 GB, free: 12.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.457, allocations: 8.094 kB / 0.5503 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.457, allocations: 12.11 kB / 0.5504 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/0.4586, allocations: 0.5286 MB / 0.5509 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/0.4594, allocations: 196.5 kB / 0.5511 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002076/0.4596, allocations: 55.36 kB / 0.5511 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/0.4604, allocations: 128.6 kB / 0.5512 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.991e-05/0.4605, allocations: 46.02 kB / 0.5513 GB, free: 12.09 MB / 378.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.0004798/0.461, allocations: 269.1 kB / 0.5515 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.4612, allocations: 85.88 kB / 0.5516 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/0.4639, allocations: 1.574 MB / 0.5532 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.464, allocations: 16.69 kB / 0.5532 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.464, allocations: 1.734 kB / 0.5532 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.464, allocations: 6.469 kB / 0.5532 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005062/0.4691, allocations: 2.873 MB / 0.556 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.4691, allocations: 1.562 kB / 0.556 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000622/0.4697, allocations: 139.5 kB / 0.5561 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00148/0.4712, allocations: 0.519 MB / 0.5566 GB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.873e-05/0.4713, allocations: 26.12 kB / 0.5567 GB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003173/0.4716, allocations: 76.08 kB / 0.5567 GB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4716, allocations: 0.9375 kB / 0.5567 GB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006353/0.478, allocations: 4.11 MB / 0.5607 GB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004518/0.4785, allocations: 289.7 kB / 0.561 GB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.805e-05/0.4786, allocations: 28.75 kB / 0.561 GB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006103/0.4792, allocations: 47.17 kB / 0.5611 GB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.4794, allocations: 73.75 kB / 0.5612 GB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.018e-05/0.4795, allocations: 37.45 kB / 0.5612 GB, free: 6.246 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003435/0.4799, allocations: 314.5 kB / 0.5615 GB, free: 5.977 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4799, allocations: 0 / 0.5615 GB, free: 5.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001158/0.481, allocations: 376.3 kB / 0.5619 GB, free: 5.609 MB / 378.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.0002875/0.4813, allocations: 158.9 kB / 0.562 GB, free: 5.445 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002768/0.4841, allocations: 1.368 MB / 0.5633 GB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4841, allocations: 1.312 kB / 0.5633 GB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.4857, allocations: 0.7623 MB / 0.5641 GB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008036/0.4866, allocations: 104.5 kB / 0.5642 GB, free: 3.441 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/0.4916, allocations: 3.166 MB / 0.5673 GB, free: 428 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/0.4923, allocations: 1.07 MB / 0.5683 GB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006466/0.493, allocations: 110.8 kB / 0.5684 GB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.4932, allocations: 59.42 kB / 0.5685 GB, free: 15.23 MB / 394.7 MB Notification: Performance of SimCode: time 1.153e-06/0.4932, allocations: 0 / 0.5685 GB, free: 15.23 MB / 394.7 MB Notification: Performance of Templates: time 0.02297/0.5162, allocations: 13.67 MB / 0.5818 GB, free: 1.633 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches