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.001281/0.001281, allocations: 103.4 kB / 16.4 MB, free: 6.457 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.001373/0.001373, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.453/1.453, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2251/0.2251, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 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.00136/0.00136, allocations: 71.83 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1349, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008702/0.1436, allocations: 7.729 MB / 0.4954 GB, free: 4.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005585/0.1492, allocations: 2.365 MB / 0.4977 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005414/0.1498, allocations: 28 kB / 0.4978 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003817/0.1537, allocations: 1.812 MB / 0.4995 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.1559, allocations: 0.8973 MB / 0.5004 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.1578, allocations: 0.8805 MB / 0.5013 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.1594, allocations: 1.436 MB / 0.5027 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.1608, allocations: 1.013 MB / 0.5037 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006503/0.1614, allocations: 0.615 MB / 0.5043 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007105/0.1622, allocations: 0.747 MB / 0.505 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.1623, allocations: 116 kB / 0.5051 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005947/0.1629, allocations: 331.8 kB / 0.5054 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.1632, allocations: 306.8 kB / 0.5057 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005772/0.1637, allocations: 0.6647 MB / 0.5064 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.1655, allocations: 1.771 MB / 0.5081 GB, free: 6.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1656, allocations: 0 / 0.5081 GB, free: 6.996 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1656, allocations: 0 / 0.5081 GB, free: 6.996 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.1656, allocations: 7.938 kB / 0.5081 GB, free: 6.988 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.00693/0.1725, allocations: 2.407 MB / 0.5104 GB, free: 4.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1726, allocations: 11.89 kB / 0.5105 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.1827, allocations: 1.494 MB / 0.5119 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.1841, allocations: 0.6246 MB / 0.5125 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.1842, allocations: 103.1 kB / 0.5126 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.1845, allocations: 136.3 kB / 0.5128 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002817/0.1873, allocations: 1.527 MB / 0.5142 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.1873, allocations: 3.938 kB / 0.5143 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.1875, allocations: 56 kB / 0.5143 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/0.1875, allocations: 40 kB / 0.5143 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002593/0.1901, allocations: 1.58 MB / 0.5159 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008184/0.1983, allocations: 5.515 MB / 0.5213 GB, free: 9.055 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.2008, allocations: 2.37 MB / 0.5236 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.2018, allocations: 0.6568 MB / 0.5242 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.202, allocations: 106.1 kB / 0.5243 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/0.2021, allocations: 51.48 kB / 0.5244 GB, free: 5.582 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.316e-06/0.2021, allocations: 0 / 0.5244 GB, free: 5.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.008499/0.2106, allocations: 3.167 MB / 0.5275 GB, free: 2.383 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.2107, allocations: 94.11 kB / 0.5276 GB, free: 2.273 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005452/0.2112, allocations: 473.9 kB / 0.528 GB, free: 1.797 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.796e-05/0.2113, allocations: 49.64 kB / 0.5281 GB, free: 1.742 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.2116, allocations: 491.2 kB / 0.5285 GB, free: 1.254 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/0.212, allocations: 429.7 kB / 0.5289 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003424/0.2123, allocations: 234.8 kB / 0.5292 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2125, allocations: 382.8 kB / 0.5295 GB, free: 216 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2929/0.5054, allocations: 456.8 kB / 0.53 GB, free: 38.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.5067, allocations: 0.7457 MB / 0.5307 GB, free: 38.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.5084, allocations: 1.255 MB / 0.5319 GB, free: 38.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.5084, allocations: 6.5 kB / 0.5319 GB, free: 38.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003627/0.512, allocations: 1.667 MB / 0.5335 GB, free: 38.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.5121, allocations: 9.281 kB / 0.5336 GB, free: 38.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.5121, allocations: 8 kB / 0.5336 GB, free: 38.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/0.5139, allocations: 0.5339 MB / 0.5341 GB, free: 38.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008876/0.5148, allocations: 210.3 kB / 0.5343 GB, free: 38.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002053/0.515, allocations: 58.03 kB / 0.5343 GB, free: 38.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006815/0.5157, allocations: 126.5 kB / 0.5345 GB, free: 38.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.5158, allocations: 56.3 kB / 0.5345 GB, free: 38.04 MB / 414.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.0004534/0.5162, allocations: 280.1 kB / 0.5348 GB, free: 37.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.5164, allocations: 84.22 kB / 0.5349 GB, free: 37.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002829/0.5192, allocations: 1.571 MB / 0.5364 GB, free: 37.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/0.5193, allocations: 14.69 kB / 0.5364 GB, free: 37.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5193, allocations: 0 / 0.5364 GB, free: 37.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/0.5193, allocations: 7.828 kB / 0.5364 GB, free: 37.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004553/0.5239, allocations: 2.894 MB / 0.5392 GB, free: 35.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.5239, allocations: 8.469 kB / 0.5393 GB, free: 35.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006117/0.5245, allocations: 143 kB / 0.5394 GB, free: 35.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/0.5259, allocations: 0.5203 MB / 0.5399 GB, free: 35.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.886e-05/0.526, allocations: 26.39 kB / 0.5399 GB, free: 35.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.574e-05/0.5261, allocations: 27.28 kB / 0.54 GB, free: 35.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5261, allocations: 1.062 kB / 0.54 GB, free: 35.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003827/0.53, allocations: 2.303 MB / 0.5422 GB, free: 34.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003686/0.5303, allocations: 285.9 kB / 0.5425 GB, free: 34.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.5304, allocations: 22.22 kB / 0.5425 GB, free: 34.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005312/0.531, allocations: 44.89 kB / 0.5425 GB, free: 34.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.5312, allocations: 85.08 kB / 0.5426 GB, free: 34.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-05/0.5313, allocations: 34.14 kB / 0.5427 GB, free: 34.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003689/0.5316, allocations: 320.9 kB / 0.543 GB, free: 34.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5316, allocations: 0 / 0.543 GB, free: 34.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001077/0.5327, allocations: 347 kB / 0.5433 GB, free: 34.02 MB / 414.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.0002798/0.533, allocations: 158.1 kB / 0.5434 GB, free: 33.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00289/0.5359, allocations: 1.391 MB / 0.5448 GB, free: 33.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5359, allocations: 5.281 kB / 0.5448 GB, free: 33.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001613/0.5375, allocations: 0.7689 MB / 0.5456 GB, free: 33.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006506/0.5382, allocations: 100.1 kB / 0.5456 GB, free: 33.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.5417, allocations: 2.096 MB / 0.5477 GB, free: 32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007622/0.5425, allocations: 1.045 MB / 0.5487 GB, free: 31.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004916/0.543, allocations: 118 kB / 0.5488 GB, free: 31.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.5432, allocations: 63.28 kB / 0.5489 GB, free: 31.23 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5432, allocations: 1.203 kB / 0.5489 GB, free: 31.23 MB / 414.1 MB Notification: Performance of Templates: time 0.0209/0.5641, allocations: 14.17 MB / 0.5627 GB, free: 25.37 MB / 414.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches