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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_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.007756/0.007756, allocations: 99.86 kB / 15.87 MB, free: 6.309 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.001414/0.001414, allocations: 190.6 kB / 16.78 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.1 MB / 222.7 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4731/0.4731, allocations: 43.49 MB / 313.5 MB, free: 8.523 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 63.91 kB / 382 MB, free: 8.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1653, allocations: 57.79 MB / 439.8 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01028/0.1757, allocations: 7.665 MB / 447.5 MB, free: 7.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005592/0.1813, allocations: 2.342 MB / 449.8 MB, free: 4.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.183, allocations: 27.94 kB / 449.9 MB, free: 4.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004238/0.1873, allocations: 1.712 MB / 451.6 MB, free: 2.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003218/0.1905, allocations: 0.8126 MB / 452.4 MB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.1926, allocations: 0.834 MB / 453.2 MB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.293/0.4857, allocations: 1.365 MB / 454.6 MB, free: 37.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002352/0.4881, allocations: 0.9023 MB / 455.5 MB, free: 37.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.4891, allocations: 0.5856 MB / 456.1 MB, free: 37.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000641/0.4898, allocations: 0.7221 MB / 456.8 MB, free: 37.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.4899, allocations: 87.91 kB / 456.9 MB, free: 37.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008299/0.4908, allocations: 293.8 kB / 457.2 MB, free: 37.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.491, allocations: 278 kB / 457.4 MB, free: 37.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005473/0.4915, allocations: 0.6333 MB / 458.1 MB, free: 37.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.4935, allocations: 1.713 MB / 459.8 MB, free: 36.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.4935, allocations: 0 / 459.8 MB, free: 36.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4935, allocations: 0 / 459.8 MB, free: 36.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.715e-05/0.4936, allocations: 0 / 459.8 MB, free: 36.91 MB / 382.1 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.008237/0.5018, allocations: 2.403 MB / 462.2 MB, free: 36.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.057e-05/0.5019, allocations: 11.66 kB / 462.2 MB, free: 36.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/0.5122, allocations: 1.497 MB / 463.7 MB, free: 36.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.514, allocations: 0.6142 MB / 464.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-05/0.5141, allocations: 101.9 kB / 464.4 MB, free: 35.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.5143, allocations: 136 kB / 464.5 MB, free: 35.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/0.5169, allocations: 1.535 MB / 466.1 MB, free: 35.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.85e-05/0.5169, allocations: 6.344 kB / 466.1 MB, free: 35.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.5171, allocations: 53.38 kB / 466.1 MB, free: 35.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.5171, allocations: 37.12 kB / 466.2 MB, free: 35.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.5195, allocations: 1.574 MB / 467.7 MB, free: 35.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007496/0.527, allocations: 5.548 MB / 473.3 MB, free: 31.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.5292, allocations: 2.372 MB / 475.7 MB, free: 29.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009173/0.5301, allocations: 0.6653 MB / 476.3 MB, free: 29.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.5303, allocations: 101.4 kB / 476.4 MB, free: 29.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.5303, allocations: 53.44 kB / 476.5 MB, free: 29.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.587e-06/0.5303, allocations: 0 / 476.5 MB, free: 29.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.008253/0.5386, allocations: 3.169 MB / 479.7 MB, free: 28.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.5386, allocations: 90.08 kB / 479.7 MB, free: 28.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004889/0.5391, allocations: 481.8 kB / 480.2 MB, free: 28.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.959e-05/0.5392, allocations: 47.77 kB / 480.3 MB, free: 27.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.5394, allocations: 483.4 kB / 480.7 MB, free: 27.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.5397, allocations: 433.8 kB / 481.2 MB, free: 27.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003113/0.54, allocations: 232 kB / 481.4 MB, free: 27.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.5401, allocations: 382.2 kB / 481.8 MB, free: 26.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007472/0.5409, allocations: 463.7 kB / 482.2 MB, free: 26.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008398/0.5417, allocations: 0.7443 MB / 482.9 MB, free: 26.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.5433, allocations: 1.252 MB / 484.2 MB, free: 25.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.088e-06/0.5433, allocations: 3.031 kB / 484.2 MB, free: 25.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003038/0.5464, allocations: 1.668 MB / 485.9 MB, free: 24.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.5464, allocations: 16.19 kB / 485.9 MB, free: 24.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.5464, allocations: 7.969 kB / 485.9 MB, free: 24.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/0.548, allocations: 0.5291 MB / 486.4 MB, free: 24.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000844/0.5488, allocations: 212.7 kB / 486.6 MB, free: 24.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002088/0.5491, allocations: 56.08 kB / 486.7 MB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000761/0.5498, allocations: 134.1 kB / 486.8 MB, free: 24.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.5499, allocations: 50.22 kB / 486.9 MB, free: 24.36 MB / 382.1 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.0004964/0.5504, allocations: 288.1 kB / 487.1 MB, free: 24.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.5506, allocations: 81.59 kB / 487.2 MB, free: 24.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002645/0.5533, allocations: 1.579 MB / 488.8 MB, free: 23.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/0.5533, allocations: 16.25 kB / 488.8 MB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5533, allocations: 0.9688 kB / 488.8 MB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.5533, allocations: 6.656 kB / 488.8 MB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004752/0.5581, allocations: 2.902 MB / 491.7 MB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.5581, allocations: 1.125 kB / 491.7 MB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006582/0.5588, allocations: 146.1 kB / 491.9 MB, free: 21.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/0.5603, allocations: 0.5194 MB / 492.4 MB, free: 21.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.821e-05/0.5604, allocations: 33.23 kB / 492.4 MB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.569e-05/0.5605, allocations: 27.91 kB / 492.5 MB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5605, allocations: 0 / 492.5 MB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/0.5641, allocations: 2.304 MB / 494.8 MB, free: 20.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004749/0.5646, allocations: 288.3 kB / 495 MB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.5647, allocations: 23.14 kB / 495.1 MB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005975/0.5653, allocations: 54.72 kB / 495.1 MB, free: 20.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.5655, allocations: 73.66 kB / 495.2 MB, free: 20.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.064e-05/0.5656, allocations: 37.91 kB / 495.2 MB, free: 20.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004065/0.566, allocations: 316 kB / 495.5 MB, free: 20.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.566, allocations: 0 / 495.5 MB, free: 20.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001137/0.5672, allocations: 349.1 kB / 495.9 MB, free: 20.02 MB / 382.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 (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.000317/0.5675, allocations: 158.7 kB / 496 MB, free: 19.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003248/0.5708, allocations: 1.399 MB / 497.4 MB, free: 19.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.5708, allocations: 1.5 kB / 497.4 MB, free: 19.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.5726, allocations: 0.7639 MB / 498.2 MB, free: 19.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009365/0.5736, allocations: 104 kB / 498.3 MB, free: 19.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004922/0.5785, allocations: 2.637 MB / 0.4892 GB, free: 17.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007672/0.5793, allocations: 1.046 MB / 0.4902 GB, free: 16.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000639/0.5799, allocations: 117.4 kB / 0.4903 GB, free: 16.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.5801, allocations: 65.48 kB / 0.4904 GB, free: 16.71 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5802, allocations: 0 / 0.4904 GB, free: 16.71 MB / 382.1 MB Notification: Performance of Templates: time 0.02572/0.6059, allocations: 13.06 MB / 0.5031 GB, free: 12.83 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches