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.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001314, allocations: 106.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 187.9 kB / 18.7 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2259/0.2259, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4012, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008758/0.41, allocations: 7.719 MB / 0.5264 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005918/0.4159, allocations: 2.364 MB / 0.5287 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.4172, allocations: 28.53 kB / 0.5288 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004509/0.4217, allocations: 1.815 MB / 0.5305 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002879/0.4246, allocations: 0.877 MB / 0.5314 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.427, allocations: 0.8817 MB / 0.5323 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002288/0.4293, allocations: 1.408 MB / 0.5336 GB, free: 8.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.4309, allocations: 1.013 MB / 0.5346 GB, free: 8.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.432, allocations: 0.5991 MB / 0.5352 GB, free: 7.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008537/0.4328, allocations: 0.7284 MB / 0.5359 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.433, allocations: 111.8 kB / 0.536 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000954/0.434, allocations: 322.8 kB / 0.5363 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.4343, allocations: 305.2 kB / 0.5366 GB, free: 7.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006859/0.4349, allocations: 0.6499 MB / 0.5373 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.4372, allocations: 1.756 MB / 0.539 GB, free: 5.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4372, allocations: 4 kB / 0.539 GB, free: 5.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4372, allocations: 0 / 0.539 GB, free: 5.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.25e-05/0.4372, allocations: 1.031 kB / 0.539 GB, free: 5.371 MB / 398.1 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.007752/0.445, allocations: 2.379 MB / 0.5413 GB, free: 3.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.4451, allocations: 9.531 kB / 0.5413 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009729/0.4548, allocations: 1.392 MB / 0.5427 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.4565, allocations: 0.6164 MB / 0.5433 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.4566, allocations: 100.6 kB / 0.5434 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003004/0.4569, allocations: 129.6 kB / 0.5435 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/0.4602, allocations: 1.487 MB / 0.5449 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.883e-05/0.4603, allocations: 7.906 kB / 0.545 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.4604, allocations: 52 kB / 0.545 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-05/0.4605, allocations: 36 kB / 0.545 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002706/0.4632, allocations: 1.505 MB / 0.5465 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009023/0.4722, allocations: 5.342 MB / 0.5517 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/0.4748, allocations: 2.178 MB / 0.5539 GB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.4759, allocations: 0.6475 MB / 0.5545 GB, free: 6.926 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/0.4761, allocations: 102.1 kB / 0.5546 GB, free: 6.809 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.4761, allocations: 59.48 kB / 0.5546 GB, free: 6.742 MB / 414.1 MB Notification: Performance of pre-optimization done (n=127): time 4.358e-06/0.4761, allocations: 0 / 0.5546 GB, free: 6.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=127): time 0.008908/0.485, allocations: 3.094 MB / 0.5577 GB, free: 3.617 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.4852, allocations: 90.11 kB / 0.5577 GB, free: 3.512 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006017/0.4858, allocations: 469.8 kB / 0.5582 GB, free: 3.043 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.488e-05/0.4859, allocations: 49.64 kB / 0.5582 GB, free: 2.988 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.4862, allocations: 463.5 kB / 0.5587 GB, free: 2.527 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003691/0.4866, allocations: 417.9 kB / 0.5591 GB, free: 2.113 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003725/0.487, allocations: 214.8 kB / 0.5593 GB, free: 1.898 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.4872, allocations: 382.7 kB / 0.5597 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008144/0.488, allocations: 462.4 kB / 0.5601 GB, free: 1.062 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009132/0.4889, allocations: 0.6918 MB / 0.5608 GB, free: 288 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.4908, allocations: 1.198 MB / 0.5619 GB, free: 14.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.4908, allocations: 0 / 0.5619 GB, free: 14.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003072/0.4939, allocations: 1.593 MB / 0.5635 GB, free: 13.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.4939, allocations: 8 kB / 0.5635 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.4939, allocations: 8 kB / 0.5635 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.4955, allocations: 0.5321 MB / 0.564 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007929/0.4964, allocations: 203.6 kB / 0.5642 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001985/0.4966, allocations: 53.19 kB / 0.5643 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000786/0.4974, allocations: 134.6 kB / 0.5644 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.98e-05/0.4975, allocations: 48 kB / 0.5644 GB, free: 12.4 MB / 430.1 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.0005007/0.498, allocations: 265.6 kB / 0.5647 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.4981, allocations: 75.06 kB / 0.5648 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/0.5009, allocations: 1.567 MB / 0.5663 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.501, allocations: 15.94 kB / 0.5663 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.501, allocations: 3.984 kB / 0.5663 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.501, allocations: 7.984 kB / 0.5663 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004506/0.5055, allocations: 2.859 MB / 0.5691 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.5056, allocations: 0 / 0.5691 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006095/0.5062, allocations: 143.8 kB / 0.5693 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/0.5076, allocations: 0.5184 MB / 0.5698 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.513e-05/0.5077, allocations: 24 kB / 0.5698 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002958/0.508, allocations: 72.72 kB / 0.5699 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.508, allocations: 0 / 0.5699 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003852/0.5119, allocations: 2.333 MB / 0.5721 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005171/0.5124, allocations: 283.7 kB / 0.5724 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.5125, allocations: 39.84 kB / 0.5724 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005729/0.5131, allocations: 39.98 kB / 0.5725 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.5133, allocations: 81.14 kB / 0.5726 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.359e-05/0.5134, allocations: 35.98 kB / 0.5726 GB, free: 3.922 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003699/0.5138, allocations: 310.9 kB / 0.5729 GB, free: 3.617 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5138, allocations: 0 / 0.5729 GB, free: 3.617 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001036/0.5148, allocations: 347.1 kB / 0.5732 GB, free: 3.277 MB / 430.1 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.0003413/0.5152, allocations: 155 kB / 0.5734 GB, free: 3.117 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002952/0.5181, allocations: 1.366 MB / 0.5747 GB, free: 1.754 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5182, allocations: 0 / 0.5747 GB, free: 1.754 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.5199, allocations: 0.7751 MB / 0.5755 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009853/0.5209, allocations: 97.88 kB / 0.5756 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/0.5251, allocations: 2.025 MB / 0.5775 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008222/0.526, allocations: 1.04 MB / 0.5785 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005847/0.5266, allocations: 110.8 kB / 0.5787 GB, free: 13.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.5268, allocations: 59.42 kB / 0.5787 GB, free: 13.59 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5268, allocations: 4 kB / 0.5787 GB, free: 13.59 MB / 446.1 MB Notification: Performance of Templates: time 0.02908/0.5559, allocations: 14.59 MB / 0.593 GB, free: 15.08 MB / 462.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches