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.001107/0.001107, allocations: 105 kB / 17.21 MB, free: 6.273 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.001056/0.001056, allocations: 194 kB / 18.12 MB, free: 5.363 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.463/1.463, allocations: 222.9 MB / 241.8 MB, free: 13.64 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.3076/0.3076, allocations: 44.19 MB / 336.1 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001407, allocations: 64.44 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1377, allocations: 60.83 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008923/0.1467, allocations: 7.661 MB / 476.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005972/0.1527, allocations: 2.353 MB / 478.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.1541, allocations: 31.94 kB / 478.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004077/0.1582, allocations: 1.689 MB / 480.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.1614, allocations: 0.8028 MB / 481.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002435/0.1638, allocations: 0.8317 MB / 481.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00257/0.1664, allocations: 1.338 MB / 483.2 MB, free: 68 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002175/0.1686, allocations: 0.9133 MB / 484.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.1697, allocations: 0.5604 MB / 484.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.1709, allocations: 0.7042 MB / 485.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003758/0.1713, allocations: 80 kB / 485.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.1724, allocations: 299.8 kB / 485.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.1727, allocations: 274.8 kB / 486.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006588/0.1734, allocations: 0.6257 MB / 486.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002318/0.1757, allocations: 1.69 MB / 488.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.1757, allocations: 0 / 488.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1757, allocations: 0 / 488.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.719e-05/0.1758, allocations: 0 / 488.4 MB, free: 10.89 MB / 366.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.00804/0.1838, allocations: 2.388 MB / 490.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.1839, allocations: 8.031 kB / 490.8 MB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00969/0.1936, allocations: 1.385 MB / 492.1 MB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.1951, allocations: 0.6089 MB / 492.8 MB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.121e-05/0.1952, allocations: 99.02 kB / 492.9 MB, free: 6.312 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/0.1954, allocations: 128.4 kB / 493 MB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002859/0.1983, allocations: 1.483 MB / 494.5 MB, free: 4.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/0.1984, allocations: 11.84 kB / 494.5 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.1985, allocations: 56 kB / 494.5 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/0.1986, allocations: 35.98 kB / 494.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/0.2012, allocations: 1.509 MB / 496.1 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008659/0.2099, allocations: 5.381 MB / 0.4897 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/0.2127, allocations: 2.178 MB / 0.4918 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.2137, allocations: 0.6515 MB / 0.4925 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.2139, allocations: 106.1 kB / 0.4926 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.2139, allocations: 47.5 kB / 0.4926 GB, free: 10.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.867e-06/0.214, allocations: 0 / 0.4926 GB, free: 10.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008928/0.2229, allocations: 3.102 MB / 0.4956 GB, free: 7.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.223, allocations: 90.11 kB / 0.4957 GB, free: 6.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005869/0.2236, allocations: 457.9 kB / 0.4962 GB, free: 6.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-05/0.2237, allocations: 45.7 kB / 0.4962 GB, free: 6.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.224, allocations: 471.5 kB / 0.4967 GB, free: 5.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/0.2243, allocations: 421.7 kB / 0.4971 GB, free: 5.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003616/0.2247, allocations: 222.8 kB / 0.4973 GB, free: 5.281 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.2249, allocations: 382.7 kB / 0.4976 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008372/0.2257, allocations: 450.5 kB / 0.4981 GB, free: 4.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009907/0.2267, allocations: 0.7002 MB / 0.4987 GB, free: 3.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.2286, allocations: 1.19 MB / 0.4999 GB, free: 2.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.2287, allocations: 7.938 kB / 0.4999 GB, free: 2.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002876/0.2315, allocations: 1.594 MB / 0.5015 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.2316, allocations: 8 kB / 0.5015 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.2316, allocations: 8 kB / 0.5015 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001564/0.2332, allocations: 0.5204 MB / 0.502 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007687/0.234, allocations: 203.6 kB / 0.5022 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2525/0.4864, allocations: 46.67 kB / 0.5022 GB, free: 49.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.4876, allocations: 127.1 kB / 0.5024 GB, free: 49.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.4877, allocations: 49.72 kB / 0.5024 GB, free: 49.05 MB / 382.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.0005839/0.4883, allocations: 273.5 kB / 0.5027 GB, free: 48.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.4885, allocations: 77.56 kB / 0.5027 GB, free: 48.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003135/0.4917, allocations: 1.565 MB / 0.5043 GB, free: 48.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.4917, allocations: 19.91 kB / 0.5043 GB, free: 48.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4917, allocations: 2.688 kB / 0.5043 GB, free: 48.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.4917, allocations: 7.547 kB / 0.5043 GB, free: 48.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004723/0.4965, allocations: 2.873 MB / 0.5071 GB, free: 47.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.4965, allocations: 3.109 kB / 0.5071 GB, free: 47.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006575/0.4971, allocations: 140.2 kB / 0.5072 GB, free: 47.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0016/0.4988, allocations: 0.5203 MB / 0.5077 GB, free: 47.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.4989, allocations: 27.36 kB / 0.5078 GB, free: 47.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003205/0.4992, allocations: 62.03 kB / 0.5078 GB, free: 47.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4992, allocations: 1.094 kB / 0.5078 GB, free: 47.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003987/0.5032, allocations: 2.337 MB / 0.5101 GB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004627/0.5037, allocations: 283.3 kB / 0.5104 GB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.5038, allocations: 29.02 kB / 0.5104 GB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005963/0.5044, allocations: 48.27 kB / 0.5105 GB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/0.5046, allocations: 79.88 kB / 0.5105 GB, free: 45.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-05/0.5047, allocations: 41.59 kB / 0.5106 GB, free: 45.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003414/0.5051, allocations: 309.1 kB / 0.5109 GB, free: 45.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5051, allocations: 0 / 0.5109 GB, free: 45.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009923/0.5061, allocations: 336.4 kB / 0.5112 GB, free: 45.41 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 (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.0002806/0.5064, allocations: 166 kB / 0.5113 GB, free: 45.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003176/0.5095, allocations: 1.367 MB / 0.5127 GB, free: 44.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.5096, allocations: 0 / 0.5127 GB, free: 44.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001767/0.5113, allocations: 0.7667 MB / 0.5134 GB, free: 44.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008537/0.5122, allocations: 104.5 kB / 0.5135 GB, free: 44.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/0.5163, allocations: 2.559 MB / 0.516 GB, free: 42.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/0.5169, allocations: 1.043 MB / 0.5171 GB, free: 42.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005866/0.5175, allocations: 110 kB / 0.5172 GB, free: 42.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.5178, allocations: 59.64 kB / 0.5172 GB, free: 42.15 MB / 382.1 MB Notification: Performance of SimCode: time 1.613e-06/0.5178, allocations: 0 / 0.5172 GB, free: 42.15 MB / 382.1 MB Notification: Performance of Templates: time 0.01997/0.5377, allocations: 12.98 MB / 0.5299 GB, free: 36.01 MB / 382.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