Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001558/0.001558, allocations: 91.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001732/0.001732, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9908/0.9908, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.602e-05, allocations: 5.266 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005116/0.005142, allocations: 3.685 MB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.008039, allocations: 1.44 MB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.01046, allocations: 12 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.01236, allocations: 0.7932 MB / 278.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.01339, allocations: 389.8 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009684/0.01436, allocations: 0.5332 MB / 279.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005052/0.01486, allocations: 477.7 kB / 280.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007216/0.01559, allocations: 422.2 kB / 280.6 MB, free: 9.668 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004567/0.01604, allocations: 315.2 kB / 280.9 MB, free: 9.359 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.01635, allocations: 211.4 kB / 281.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.829e-05/0.01642, allocations: 48 kB / 281.2 MB, free: 9.105 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003803/0.0168, allocations: 211.6 kB / 281.4 MB, free: 8.898 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.123e-05/0.01688, allocations: 107.6 kB / 281.5 MB, free: 8.793 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.01704, allocations: 159.6 kB / 281.7 MB, free: 8.637 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006948/0.01773, allocations: 0.5176 MB / 282.2 MB, free: 8.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.01774, allocations: 4 kB / 282.2 MB, free: 8.113 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.01774, allocations: 0 / 282.2 MB, free: 8.113 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.01775, allocations: 0 / 282.2 MB, free: 8.113 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001893/0.01964, allocations: 0.9485 MB / 283.1 MB, free: 7.125 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.01968, allocations: 11.98 kB / 283.1 MB, free: 7.113 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/0.02282, allocations: 0.5858 MB / 283.7 MB, free: 6.527 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.02322, allocations: 259.9 kB / 284 MB, free: 6.246 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/0.02325, allocations: 37.69 kB / 284 MB, free: 6.211 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.563e-05/0.02335, allocations: 60.36 kB / 284.1 MB, free: 6.152 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008213/0.02417, allocations: 425.4 kB / 284.5 MB, free: 5.723 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.0242, allocations: 4.188 kB / 284.5 MB, free: 5.719 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.317e-05/0.02425, allocations: 28.12 kB / 284.5 MB, free: 5.691 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.02427, allocations: 12 kB / 284.5 MB, free: 5.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00074/0.02501, allocations: 339.6 kB / 284.9 MB, free: 5.348 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.02697, allocations: 1.502 MB / 286.4 MB, free: 3.785 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/0.02777, allocations: 0.5676 MB / 286.9 MB, free: 3.211 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.02799, allocations: 172.2 kB / 287.1 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.352e-05/0.02805, allocations: 28.41 kB / 287.1 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.02807, allocations: 45.88 kB / 287.2 MB, free: 2.961 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.284e-06/0.02807, allocations: 4 kB / 287.2 MB, free: 2.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0008557/0.02893, allocations: 0.5003 MB / 287.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.02895, allocations: 55.91 kB / 287.7 MB, free: 2.379 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.02907, allocations: 233.7 kB / 288 MB, free: 2.133 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.02909, allocations: 33.7 kB / 288 MB, free: 2.094 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.233e-05/0.02919, allocations: 267.7 kB / 288.3 MB, free: 1.824 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/0.02927, allocations: 166.5 kB / 288.4 MB, free: 1.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.48e-05/0.02936, allocations: 103.8 kB / 288.5 MB, free: 1.551 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.02948, allocations: 0.5079 MB / 289 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.0296, allocations: 76.95 kB / 289.1 MB, free: 0.957 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.02977, allocations: 210.2 kB / 289.3 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.03008, allocations: 314.2 kB / 289.6 MB, free: 368 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.03009, allocations: 4 kB / 289.6 MB, free: 364 kB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.1031/0.1332, allocations: 426.7 kB / 290 MB, free: 21.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.1332, allocations: 5.969 kB / 290 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1332, allocations: 5.781 kB / 290 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003017/0.1335, allocations: 90.2 kB / 290.1 MB, free: 21.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.1338, allocations: 93.14 kB / 290.2 MB, free: 21.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000948/0.1347, allocations: 2.008 MB / 292.2 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.1349, allocations: 41.73 kB / 292.3 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.1349, allocations: 19.98 kB / 292.3 MB, free: 19.36 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.135, allocations: 178.9 kB / 292.5 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.135, allocations: 38.05 kB / 292.5 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005475/0.1356, allocations: 426.5 kB / 292.9 MB, free: 19.15 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1356, allocations: 5.531 kB / 292.9 MB, free: 19.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1356, allocations: 2.406 kB / 292.9 MB, free: 19.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1356, allocations: 3.484 kB / 292.9 MB, free: 19.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008617/0.1365, allocations: 0.921 MB / 293.9 MB, free: 18.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1365, allocations: 2.828 kB / 293.9 MB, free: 18.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.1366, allocations: 78.16 kB / 293.9 MB, free: 18.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002074/0.1368, allocations: 92.34 kB / 294 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.1369, allocations: 12.67 kB / 294 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007462/0.1376, allocations: 2 MB / 296 MB, free: 17.06 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1376, allocations: 1.188 kB / 296 MB, free: 17.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/0.1382, allocations: 0.6328 MB / 296.7 MB, free: 16.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.1383, allocations: 33.34 kB / 296.7 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.1383, allocations: 14.34 kB / 296.7 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1384, allocations: 20.33 kB / 296.7 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.1385, allocations: 39.09 kB / 296.8 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1385, allocations: 16.38 kB / 296.8 MB, free: 16.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.292e-05/0.1385, allocations: 157.7 kB / 296.9 MB, free: 16.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1385, allocations: 0 / 296.9 MB, free: 16.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.1389, allocations: 155.4 kB / 297.1 MB, free: 16.66 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001682/0.139, allocations: 145.1 kB / 297.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005542/0.1396, allocations: 0.5032 MB / 297.7 MB, free: 16.37 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1396, allocations: 0 / 297.7 MB, free: 16.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002713/0.1399, allocations: 378.1 kB / 298.1 MB, free: 16.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.1401, allocations: 43.47 kB / 298.2 MB, free: 16.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1411, allocations: 0.7532 MB / 298.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.621e-05/0.1412, allocations: 110.9 kB / 299 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.1413, allocations: 48.02 kB / 299.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-05/0.1414, allocations: 37.84 kB / 299.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1414, allocations: 0 / 299.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of Templates: time 0.006797/0.1482, allocations: 4.706 MB / 303.8 MB, free: 15.2 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8219045102596283]