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.001268/0.001268, allocations: 115.7 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001295, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 246.4 MB, free: 9.105 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2136/0.2136, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001693, allocations: 77.14 kB / 417 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1623, allocations: 62.44 MB / 479.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01051/0.1729, allocations: 7.689 MB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005155/0.1781, allocations: 2.385 MB / 489.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006581/0.1787, allocations: 28 kB / 489.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004034/0.1828, allocations: 1.711 MB / 491.3 MB, free: 9.727 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.1848, allocations: 0.6252 MB / 491.9 MB, free: 9.102 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.1873, allocations: 1 MB / 492.9 MB, free: 8.109 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002325/0.1897, allocations: 1.397 MB / 494.3 MB, free: 6.707 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00216/0.1918, allocations: 1.125 MB / 495.4 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.1931, allocations: 0.6072 MB / 496.1 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.1947, allocations: 0.7315 MB / 496.8 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006759/0.1954, allocations: 112 kB / 496.9 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.1973, allocations: 335.8 kB / 497.2 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007696/0.1981, allocations: 302.9 kB / 497.5 MB, free: 3.488 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.1993, allocations: 0.6452 MB / 498.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.2015, allocations: 1.74 MB / 499.9 MB, free: 1.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2016, allocations: 4 kB / 499.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.2016, allocations: 0 / 499.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.2016, allocations: 0 / 499.9 MB, free: 1.09 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.007581/0.2092, allocations: 2.38 MB / 0.4905 GB, free: 14.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.2092, allocations: 8.031 kB / 0.4905 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009802/0.2191, allocations: 1.393 MB / 0.4919 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.2202, allocations: 0.6051 MB / 0.4925 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-05/0.2203, allocations: 95.02 kB / 0.4926 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.2205, allocations: 128.4 kB / 0.4927 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002715/0.2232, allocations: 1.49 MB / 0.4941 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.391e-05/0.2233, allocations: 7.906 kB / 0.4942 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/0.2234, allocations: 56 kB / 0.4942 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.2235, allocations: 32 kB / 0.4942 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/0.2261, allocations: 1.509 MB / 0.4957 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008448/0.2346, allocations: 5.63 MB / 0.5012 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/0.2372, allocations: 2.178 MB / 0.5033 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.2383, allocations: 0.6476 MB / 0.504 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.28/0.5183, allocations: 182 kB / 0.5041 GB, free: 40.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.577e-05/0.5184, allocations: 49.08 kB / 0.5042 GB, free: 40.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 4.458e-06/0.5184, allocations: 2.5 kB / 0.5042 GB, free: 40.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.01055/0.529, allocations: 3.092 MB / 0.5072 GB, free: 40.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.5291, allocations: 92.08 kB / 0.5073 GB, free: 40.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006053/0.5297, allocations: 463.6 kB / 0.5077 GB, free: 39.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-05/0.5298, allocations: 46.8 kB / 0.5078 GB, free: 39.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.5301, allocations: 468.8 kB / 0.5082 GB, free: 39.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.5304, allocations: 427 kB / 0.5086 GB, free: 39.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003655/0.5308, allocations: 216.2 kB / 0.5088 GB, free: 39.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5309, allocations: 386.6 kB / 0.5092 GB, free: 38.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008234/0.5317, allocations: 454.6 kB / 0.5096 GB, free: 38.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009786/0.5327, allocations: 0.6919 MB / 0.5103 GB, free: 38.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/0.5346, allocations: 1.203 MB / 0.5115 GB, free: 37.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.5346, allocations: 2.281 kB / 0.5115 GB, free: 37.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003126/0.5377, allocations: 1.591 MB / 0.5131 GB, free: 36.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.5378, allocations: 8 kB / 0.5131 GB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/0.5378, allocations: 7.469 kB / 0.5131 GB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/0.5394, allocations: 0.5294 MB / 0.5136 GB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007903/0.5402, allocations: 200.9 kB / 0.5138 GB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001988/0.5404, allocations: 47.89 kB / 0.5138 GB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007238/0.5411, allocations: 119.7 kB / 0.5139 GB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.084e-05/0.5412, allocations: 51.34 kB / 0.514 GB, free: 36.43 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.0004737/0.5417, allocations: 277 kB / 0.5142 GB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.542, allocations: 83.53 kB / 0.5143 GB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/0.5449, allocations: 1.571 MB / 0.5159 GB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.358e-05/0.545, allocations: 17.84 kB / 0.5159 GB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.545, allocations: 0 / 0.5159 GB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-05/0.545, allocations: 8.391 kB / 0.5159 GB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004726/0.5497, allocations: 2.865 MB / 0.5187 GB, free: 34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.5498, allocations: 4.891 kB / 0.5187 GB, free: 34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006337/0.5504, allocations: 149.6 kB / 0.5188 GB, free: 33.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.5519, allocations: 0.522 MB / 0.5193 GB, free: 33.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.528e-05/0.552, allocations: 29.58 kB / 0.5194 GB, free: 33.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003065/0.5523, allocations: 65.05 kB / 0.5194 GB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5523, allocations: 4 kB / 0.5194 GB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003684/0.556, allocations: 2.331 MB / 0.5217 GB, free: 32.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000399/0.5564, allocations: 282.1 kB / 0.522 GB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.5565, allocations: 21.25 kB / 0.522 GB, free: 32.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005926/0.5571, allocations: 49.72 kB / 0.5221 GB, free: 32.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.5573, allocations: 79.81 kB / 0.5221 GB, free: 32.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.493e-05/0.5574, allocations: 32.91 kB / 0.5222 GB, free: 32.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003569/0.5578, allocations: 310.6 kB / 0.5225 GB, free: 32.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5578, allocations: 3.469 kB / 0.5225 GB, free: 32.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001027/0.5588, allocations: 349.9 kB / 0.5228 GB, free: 32.08 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.0003124/0.5591, allocations: 163.4 kB / 0.5229 GB, free: 31.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003277/0.5624, allocations: 1.403 MB / 0.5243 GB, free: 31.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.5624, allocations: 0 / 0.5243 GB, free: 31.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001574/0.564, allocations: 0.761 MB / 0.5251 GB, free: 31.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007055/0.5647, allocations: 108.8 kB / 0.5252 GB, free: 31.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.5681, allocations: 2.59 MB / 0.5277 GB, free: 29.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.5685, allocations: 1.039 MB / 0.5287 GB, free: 28.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005153/0.5691, allocations: 112.2 kB / 0.5288 GB, free: 28.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.5692, allocations: 59.17 kB / 0.5289 GB, free: 28.75 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5693, allocations: 6.812 kB / 0.5289 GB, free: 28.75 MB / 382.1 MB Notification: Performance of Templates: time 0.01815/0.5874, allocations: 13.77 MB / 0.5423 GB, free: 17.62 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