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.001362/0.001362, allocations: 116.9 kB / 17.08 MB, free: 6.012 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.001316/0.001317, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.441/1.441, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2168/0.2168, allocations: 43.52 MB / 314.8 MB, free: 460 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.001604/0.001604, allocations: 72.36 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1183, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009057/0.1274, allocations: 7.722 MB / 0.4961 GB, free: 4.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004987/0.1324, allocations: 2.372 MB / 0.4984 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001676/0.1341, allocations: 24 kB / 0.4984 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004286/0.1385, allocations: 1.804 MB / 0.5002 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003046/0.1416, allocations: 0.909 MB / 0.5011 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.144, allocations: 0.8843 MB / 0.5019 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002481/0.1466, allocations: 1.44 MB / 0.5033 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.1485, allocations: 0.9969 MB / 0.5043 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.1495, allocations: 0.6189 MB / 0.5049 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.1508, allocations: 0.7431 MB / 0.5056 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004295/0.1512, allocations: 116 kB / 0.5058 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.1524, allocations: 331.8 kB / 0.5061 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003544/0.1528, allocations: 306.8 kB / 0.5064 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.1538, allocations: 0.6686 MB / 0.507 GB, free: 8.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.1563, allocations: 1.767 MB / 0.5087 GB, free: 6.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1563, allocations: 0 / 0.5087 GB, free: 6.996 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1564, allocations: 0 / 0.5087 GB, free: 6.996 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.379e-05/0.1564, allocations: 0 / 0.5087 GB, free: 6.996 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.008413/0.1648, allocations: 2.404 MB / 0.5111 GB, free: 4.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1649, allocations: 11.89 kB / 0.5111 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.1756, allocations: 1.498 MB / 0.5126 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.177, allocations: 0.6207 MB / 0.5132 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.1772, allocations: 103.1 kB / 0.5133 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004277/0.1776, allocations: 136.3 kB / 0.5134 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003362/0.181, allocations: 1.531 MB / 0.5149 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.509e-05/0.181, allocations: 15.97 kB / 0.5149 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.1812, allocations: 52 kB / 0.515 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-05/0.1813, allocations: 36 kB / 0.515 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003026/0.1843, allocations: 1.58 MB / 0.5165 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009139/0.1934, allocations: 5.515 MB / 0.5219 GB, free: 9.055 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/0.1959, allocations: 2.366 MB / 0.5242 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009805/0.1969, allocations: 0.6645 MB / 0.5249 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.1971, allocations: 102.1 kB / 0.525 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.1971, allocations: 47.56 kB / 0.525 GB, free: 5.586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.276e-06/0.1971, allocations: 4 kB / 0.525 GB, free: 5.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.008828/0.206, allocations: 3.167 MB / 0.5281 GB, free: 2.383 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.2061, allocations: 94.09 kB / 0.5282 GB, free: 2.273 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006142/0.2067, allocations: 473.9 kB / 0.5287 GB, free: 1.797 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.451e-05/0.2068, allocations: 53.64 kB / 0.5287 GB, free: 1.738 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.2071, allocations: 487.2 kB / 0.5292 GB, free: 1.254 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.2075, allocations: 429.6 kB / 0.5296 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003508/0.2079, allocations: 234.8 kB / 0.5298 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.208, allocations: 382.8 kB / 0.5302 GB, free: 216 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.231/0.4391, allocations: 459.1 kB / 0.5306 GB, free: 38.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.4401, allocations: 0.7451 MB / 0.5313 GB, free: 38.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.4418, allocations: 1.259 MB / 0.5326 GB, free: 38.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.4418, allocations: 2.094 kB / 0.5326 GB, free: 38.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002807/0.4446, allocations: 1.669 MB / 0.5342 GB, free: 38.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.4447, allocations: 8.125 kB / 0.5342 GB, free: 38.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.4447, allocations: 11.59 kB / 0.5342 GB, free: 38.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/0.4462, allocations: 0.5252 MB / 0.5347 GB, free: 38.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007871/0.447, allocations: 217.8 kB / 0.5349 GB, free: 38.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002191/0.4472, allocations: 56.67 kB / 0.535 GB, free: 38.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000685/0.4479, allocations: 130.7 kB / 0.5351 GB, free: 38.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.762e-05/0.448, allocations: 50.47 kB / 0.5352 GB, free: 38.01 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.0004069/0.4484, allocations: 281.6 kB / 0.5354 GB, free: 37.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.4486, allocations: 80.03 kB / 0.5355 GB, free: 37.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/0.4512, allocations: 1.572 MB / 0.537 GB, free: 37.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.4512, allocations: 20 kB / 0.5371 GB, free: 37.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.4513, allocations: 2.562 kB / 0.5371 GB, free: 37.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.462e-05/0.4513, allocations: 6.234 kB / 0.5371 GB, free: 37.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004145/0.4554, allocations: 2.895 MB / 0.5399 GB, free: 35.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.4555, allocations: 1.062 kB / 0.5399 GB, free: 35.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006101/0.4561, allocations: 144.5 kB / 0.54 GB, free: 35.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001437/0.4575, allocations: 0.5167 MB / 0.5405 GB, free: 35.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.07e-05/0.4576, allocations: 27.16 kB / 0.5406 GB, free: 35.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-05/0.4577, allocations: 28.89 kB / 0.5406 GB, free: 35.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4577, allocations: 4 kB / 0.5406 GB, free: 35.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003978/0.4617, allocations: 2.297 MB / 0.5428 GB, free: 34.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000365/0.4621, allocations: 287.3 kB / 0.5431 GB, free: 34.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.4622, allocations: 21.5 kB / 0.5431 GB, free: 34.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006369/0.4629, allocations: 49.22 kB / 0.5432 GB, free: 34.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.463, allocations: 84.17 kB / 0.5433 GB, free: 34.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.934e-05/0.4631, allocations: 34.08 kB / 0.5433 GB, free: 34.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004706/0.4636, allocations: 316.9 kB / 0.5436 GB, free: 34.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4636, allocations: 0 / 0.5436 GB, free: 34.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001032/0.4646, allocations: 346.2 kB / 0.5439 GB, free: 33.98 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.0003373/0.465, allocations: 162.5 kB / 0.5441 GB, free: 33.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002989/0.468, allocations: 1.39 MB / 0.5454 GB, free: 33.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.468, allocations: 1.234 kB / 0.5454 GB, free: 33.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.4699, allocations: 0.7716 MB / 0.5462 GB, free: 33.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007417/0.4706, allocations: 111 kB / 0.5463 GB, free: 33.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.4743, allocations: 2.131 MB / 0.5484 GB, free: 31.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006495/0.475, allocations: 1.046 MB / 0.5494 GB, free: 31.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.4753, allocations: 71.84 kB / 0.5495 GB, free: 31.2 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4753, allocations: 0 / 0.5495 GB, free: 31.2 MB / 414.1 MB Notification: Performance of Templates: time 0.0227/0.498, allocations: 16.83 MB / 0.5659 GB, free: 22.65 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/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