Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 85.08 kB / 23 MB, free: 1.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 180.3 kB / 26.4 MB, free: 7.98 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8454/0.8454, allocations: 158.6 MB / 188.3 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236e-05/1.34e-05, allocations: 6.25 kB / 252.2 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.0032/0.003213, allocations: 3.626 MB / 255.9 MB, free: 3.609 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.004979, allocations: 1.422 MB / 257.3 MB, free: 2.18 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.005154, allocations: 12 kB / 257.3 MB, free: 2.168 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.006219, allocations: 0.7736 MB / 258.1 MB, free: 1.387 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006282/0.006847, allocations: 409.8 kB / 258.5 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005775/0.007425, allocations: 0.5214 MB / 259 MB, free: 472 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004162/0.007841, allocations: 0.4976 MB / 259.5 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004971/0.008338, allocations: 430 kB / 259.9 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003102/0.008648, allocations: 327.2 kB / 260.2 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.008865, allocations: 227.3 kB / 260.5 MB, free: 14.99 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.008912, allocations: 48 kB / 260.5 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.009207, allocations: 203.7 kB / 260.7 MB, free: 14.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.836e-05/0.009276, allocations: 119.5 kB / 260.8 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.009389, allocations: 171.6 kB / 261 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.009866, allocations: 0.5176 MB / 261.5 MB, free: 13.94 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.009867, allocations: 0 / 261.5 MB, free: 13.94 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.009868, allocations: 0 / 261.5 MB, free: 13.94 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.009874, allocations: 4 kB / 261.5 MB, free: 13.94 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001224/0.0111, allocations: 0.9834 MB / 262.5 MB, free: 12.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.01113, allocations: 15.98 kB / 262.5 MB, free: 12.9 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002199/0.01333, allocations: 0.738 MB / 263.3 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.01359, allocations: 251.9 kB / 263.5 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.01362, allocations: 45.69 kB / 263.5 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.905e-05/0.01368, allocations: 56.38 kB / 263.6 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.01409, allocations: 409.4 kB / 264 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.0141, allocations: 192 / 264 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.01414, allocations: 27.94 kB / 264 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.01415, allocations: 16 kB / 264 MB, free: 11.33 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.01449, allocations: 310.1 kB / 264.3 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.01613, allocations: 1.595 MB / 265.9 MB, free: 9.371 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008185/0.01695, allocations: 0.639 MB / 266.6 MB, free: 8.738 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.01711, allocations: 149.1 kB / 266.7 MB, free: 8.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.01715, allocations: 24.48 kB / 266.7 MB, free: 8.562 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.01717, allocations: 33.89 kB / 266.8 MB, free: 8.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 1.523e-06/0.01718, allocations: 4 kB / 266.8 MB, free: 8.516 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.0006883/0.01786, allocations: 464.3 kB / 267.2 MB, free: 8.055 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.01789, allocations: 59.84 kB / 267.3 MB, free: 7.98 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.018, allocations: 241.6 kB / 267.5 MB, free: 7.727 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.01803, allocations: 37.7 kB / 267.6 MB, free: 7.684 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.01813, allocations: 291.5 kB / 267.9 MB, free: 7.391 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.632e-05/0.01822, allocations: 178.5 kB / 268 MB, free: 7.215 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.815e-05/0.01831, allocations: 111.9 kB / 268.1 MB, free: 7.098 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.01843, allocations: 0.5117 MB / 268.6 MB, free: 6.574 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.741e-05/0.01851, allocations: 69.25 kB / 268.7 MB, free: 6.504 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.01866, allocations: 241.9 kB / 269 MB, free: 6.203 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.01892, allocations: 356.7 kB / 269.3 MB, free: 5.789 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.01892, allocations: 4 kB / 269.3 MB, free: 5.785 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004375/0.01936, allocations: 432.6 kB / 269.7 MB, free: 5.352 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.01937, allocations: 4 kB / 269.7 MB, free: 5.348 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.01938, allocations: 7.984 kB / 269.7 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002254/0.0196, allocations: 92 kB / 269.8 MB, free: 5.246 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.01981, allocations: 103.9 kB / 269.9 MB, free: 5.145 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.02086, allocations: 1.975 MB / 271.9 MB, free: 3.055 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.021, allocations: 47.62 kB / 272 MB, free: 3.008 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.02102, allocations: 20 kB / 272 MB, free: 2.988 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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.0001168/0.02113, allocations: 196.3 kB / 272.2 MB, free: 2.785 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.02119, allocations: 43.89 kB / 272.2 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00042/0.02161, allocations: 392.8 kB / 272.6 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.02161, allocations: 4 kB / 272.6 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.02161, allocations: 8 kB / 272.6 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.02162, allocations: 0 / 272.6 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007304/0.02235, allocations: 0.841 MB / 273.4 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.02235, allocations: 4 kB / 273.4 MB, free: 1.449 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.02251, allocations: 79.83 kB / 273.5 MB, free: 1.371 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001829/0.0227, allocations: 91.61 kB / 273.6 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.02271, allocations: 12 kB / 273.6 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000905/0.02362, allocations: 1.968 MB / 275.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.02362, allocations: 0 / 275.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006015/0.02422, allocations: 0.591 MB / 276.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.02425, allocations: 31.69 kB / 276.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.02427, allocations: 24.05 kB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.02438, allocations: 12 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.02443, allocations: 44.42 kB / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.02445, allocations: 7.984 kB / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.727e-05/0.02451, allocations: 168.2 kB / 276.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02451, allocations: 0 / 276.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003188/0.02482, allocations: 159.7 kB / 276.6 MB, free: 14.12 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 (46): * Single equations (assignments): 45 * 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.0001358/0.02496, allocations: 135.1 kB / 276.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004405/0.0254, allocations: 0.4958 MB / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.0254, allocations: 0 / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.02565, allocations: 358.2 kB / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.02586, allocations: 43.86 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009872/0.02685, allocations: 0.7834 MB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.871e-05/0.02692, allocations: 118.6 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.02704, allocations: 50.95 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.02717, allocations: 122.2 kB / 278.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02717, allocations: 0 / 278.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of Templates: time 0.006758/0.03392, allocations: 4.852 MB / 283.6 MB, free: 7.098 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/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.711236152332276]