Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001057/0.001057, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2291/0.2291, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001932, allocations: 80.56 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1451, allocations: 62.44 MB / 480 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008913/0.1541, allocations: 7.747 MB / 487.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004998/0.1592, allocations: 2.408 MB / 490.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008979/0.1601, allocations: 27.94 kB / 490.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003951/0.1641, allocations: 1.812 MB / 492 MB, free: 9.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.1665, allocations: 0.7025 MB / 492.7 MB, free: 8.547 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.1688, allocations: 1.078 MB / 493.8 MB, free: 7.477 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001928/0.1708, allocations: 1.394 MB / 495.2 MB, free: 6.078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.1723, allocations: 1.017 MB / 496.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007857/0.1731, allocations: 0.6072 MB / 496.8 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007124/0.1738, allocations: 0.7314 MB / 497.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.1739, allocations: 112 kB / 497.6 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007862/0.1747, allocations: 339.8 kB / 498 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.175, allocations: 290.9 kB / 498.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005357/0.1755, allocations: 0.6569 MB / 498.9 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.1773, allocations: 1.744 MB / 0.4889 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1774, allocations: 0 / 0.4889 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1774, allocations: 0 / 0.4889 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.108e-05/0.1774, allocations: 0 / 0.4889 GB, free: 0.5664 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.007507/0.1849, allocations: 2.373 MB / 0.4912 GB, free: 14.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.185, allocations: 8.031 kB / 0.4913 GB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00939/0.1944, allocations: 1.396 MB / 0.4926 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.1958, allocations: 0.6051 MB / 0.4932 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.109e-05/0.1959, allocations: 98.95 kB / 0.4933 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/0.1961, allocations: 136.4 kB / 0.4934 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003107/0.1992, allocations: 1.483 MB / 0.4949 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.272e-05/0.1993, allocations: 7.906 kB / 0.4949 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.1994, allocations: 52 kB / 0.4949 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.46e-05/0.1995, allocations: 43.94 kB / 0.495 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/0.2023, allocations: 1.505 MB / 0.4965 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009008/0.2114, allocations: 5.622 MB / 0.5019 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0028/0.2142, allocations: 2.175 MB / 0.5041 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2328/0.4471, allocations: 0.6421 MB / 0.5047 GB, free: 40.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/0.4474, allocations: 191.3 kB / 0.5049 GB, free: 40.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.4474, allocations: 47.97 kB / 0.5049 GB, free: 40.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 4.398e-06/0.4474, allocations: 0.5938 kB / 0.5049 GB, free: 40.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.009899/0.4573, allocations: 3.099 MB / 0.5079 GB, free: 39.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.4574, allocations: 91.09 kB / 0.508 GB, free: 39.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006865/0.4581, allocations: 460.3 kB / 0.5085 GB, free: 39.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.79e-05/0.4582, allocations: 47.2 kB / 0.5085 GB, free: 39.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.4585, allocations: 465.1 kB / 0.509 GB, free: 39.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003591/0.4589, allocations: 423.5 kB / 0.5094 GB, free: 38.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000349/0.4593, allocations: 219.4 kB / 0.5096 GB, free: 38.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4594, allocations: 382.3 kB / 0.5099 GB, free: 38.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008202/0.4602, allocations: 457.7 kB / 0.5104 GB, free: 38.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008818/0.4611, allocations: 0.6935 MB / 0.5111 GB, free: 37.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.4628, allocations: 1.202 MB / 0.5122 GB, free: 36.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/0.4628, allocations: 6.875 kB / 0.5122 GB, free: 36.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002894/0.4657, allocations: 1.594 MB / 0.5138 GB, free: 36.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.4657, allocations: 7.531 kB / 0.5138 GB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.4658, allocations: 8.547 kB / 0.5138 GB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/0.4673, allocations: 0.529 MB / 0.5143 GB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007576/0.4681, allocations: 199.8 kB / 0.5145 GB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002002/0.4683, allocations: 51.3 kB / 0.5146 GB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006709/0.469, allocations: 121.5 kB / 0.5147 GB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.521e-05/0.4691, allocations: 51.64 kB / 0.5147 GB, free: 35.97 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.0004312/0.4695, allocations: 274.1 kB / 0.515 GB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.4697, allocations: 82.34 kB / 0.5151 GB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003027/0.4727, allocations: 1.566 MB / 0.5166 GB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.4728, allocations: 16.98 kB / 0.5166 GB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.4728, allocations: 1.062 kB / 0.5166 GB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/0.4728, allocations: 15.02 kB / 0.5166 GB, free: 34.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004729/0.4775, allocations: 2.866 MB / 0.5194 GB, free: 33.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.4776, allocations: 1.188 kB / 0.5194 GB, free: 33.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/0.4782, allocations: 140.1 kB / 0.5196 GB, free: 33.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00146/0.4797, allocations: 0.5221 MB / 0.5201 GB, free: 33.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.45e-05/0.4798, allocations: 29.3 kB / 0.5201 GB, free: 33.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003171/0.4801, allocations: 67.34 kB / 0.5202 GB, free: 33.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.4801, allocations: 0.7031 kB / 0.5202 GB, free: 33.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004257/0.4844, allocations: 2.337 MB / 0.5224 GB, free: 32.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/0.4849, allocations: 280.1 kB / 0.5227 GB, free: 31.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.4851, allocations: 21.5 kB / 0.5227 GB, free: 31.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007055/0.4859, allocations: 46.08 kB / 0.5228 GB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.4861, allocations: 82.08 kB / 0.5229 GB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.051e-05/0.4862, allocations: 41.3 kB / 0.5229 GB, free: 31.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004337/0.4866, allocations: 309.4 kB / 0.5232 GB, free: 31.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.292e-06/0.4866, allocations: 0 / 0.5232 GB, free: 31.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001261/0.4879, allocations: 350.8 kB / 0.5235 GB, free: 31.62 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.0003237/0.4882, allocations: 161 kB / 0.5237 GB, free: 31.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003686/0.4919, allocations: 1.403 MB / 0.5251 GB, free: 31.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.4919, allocations: 0 / 0.5251 GB, free: 31.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.4937, allocations: 0.7749 MB / 0.5258 GB, free: 30.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009394/0.4947, allocations: 94.77 kB / 0.5259 GB, free: 30.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004341/0.499, allocations: 2.087 MB / 0.5279 GB, free: 29.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.4996, allocations: 1.041 MB / 0.529 GB, free: 28.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005275/0.5001, allocations: 112.4 kB / 0.5291 GB, free: 28.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.5003, allocations: 62.44 kB / 0.5291 GB, free: 28.8 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5003, allocations: 0 / 0.5291 GB, free: 28.8 MB / 382.1 MB Notification: Performance of Templates: time 0.02192/0.5223, allocations: 13.93 MB / 0.5427 GB, free: 17.43 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches