Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009584/0.0009584, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008744/0.0008744, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.007/1.007, allocations: 173.3 MB / 201.1 MB, free: 8.961 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 3.938 kB / 268 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.232e-05, allocations: 2.312 kB / 268 MB, free: 6.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004181/0.004214, allocations: 3.658 MB / 271.6 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.006316, allocations: 1.394 MB / 273 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002185/0.006534, allocations: 8 kB / 273 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.007736, allocations: 0.801 MB / 273.8 MB, free: 408 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008341/0.00857, allocations: 0.5245 MB / 274.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.009107, allocations: 416.6 kB / 274.8 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003762/0.009484, allocations: 477.7 kB / 275.2 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000539/0.01002, allocations: 422.2 kB / 275.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.01035, allocations: 311.2 kB / 276 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.01061, allocations: 207.4 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.998e-05/0.01069, allocations: 44 kB / 276.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003236/0.01101, allocations: 203.7 kB / 276.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.01107, allocations: 107.6 kB / 276.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.01118, allocations: 159.6 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006832/0.01186, allocations: 0.5099 MB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.01187, allocations: 7.875 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01187, allocations: 4 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.01187, allocations: 0 / 277.2 MB, free: 13.05 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.001274/0.01315, allocations: 0.9524 MB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.01319, allocations: 12.03 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/0.01497, allocations: 0.6054 MB / 278.8 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.01529, allocations: 248 kB / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.01532, allocations: 37.69 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.01538, allocations: 56.33 kB / 279.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/0.01592, allocations: 425.4 kB / 279.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.01594, allocations: 4.188 kB / 279.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.01597, allocations: 28.11 kB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.01599, allocations: 12 kB / 279.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.01644, allocations: 335.5 kB / 279.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.01816, allocations: 1.494 MB / 281.4 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008501/0.01901, allocations: 0.5713 MB / 281.9 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.01924, allocations: 173 kB / 282.1 MB, free: 7.973 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-05/0.01929, allocations: 12.5 kB / 282.1 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.01932, allocations: 41.89 kB / 282.2 MB, free: 7.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.524e-06/0.01932, allocations: 0 / 282.2 MB, free: 7.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0008676/0.02019, allocations: 0.5042 MB / 282.7 MB, free: 7.395 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.02022, allocations: 55.91 kB / 282.7 MB, free: 7.328 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.02034, allocations: 225.8 kB / 282.9 MB, free: 7.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.02037, allocations: 33.7 kB / 283 MB, free: 7.051 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.02047, allocations: 271.7 kB / 283.2 MB, free: 6.777 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.33e-05/0.02055, allocations: 174.5 kB / 283.4 MB, free: 6.605 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.174e-05/0.02064, allocations: 91.83 kB / 283.5 MB, free: 6.508 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002538/0.0209, allocations: 0.504 MB / 284 MB, free: 5.992 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.02102, allocations: 84.94 kB / 284.1 MB, free: 5.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.02119, allocations: 202.3 kB / 284.3 MB, free: 5.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.02148, allocations: 314.2 kB / 284.6 MB, free: 5.316 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.02149, allocations: 4 kB / 284.6 MB, free: 5.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004985/0.02198, allocations: 432.7 kB / 285 MB, free: 4.879 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.022, allocations: 10.81 kB / 285 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.02201, allocations: 0 / 285 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002897/0.0223, allocations: 95.84 kB / 285.1 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.02249, allocations: 87.89 kB / 285.2 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.02367, allocations: 2.01 MB / 287.2 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.02387, allocations: 47.67 kB / 287.3 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.013e-05/0.02391, allocations: 19.98 kB / 287.3 MB, free: 2.488 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.0001423/0.02405, allocations: 180.5 kB / 287.5 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.0241, allocations: 43.89 kB / 287.5 MB, free: 2.258 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005289/0.02463, allocations: 412.1 kB / 287.9 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.02464, allocations: 12 kB / 287.9 MB, free: 1.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.02464, allocations: 3.938 kB / 287.9 MB, free: 1.836 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.02465, allocations: 3.984 kB / 287.9 MB, free: 1.832 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009089/0.02556, allocations: 0.9262 MB / 288.9 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.02556, allocations: 4 kB / 288.9 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.02573, allocations: 75.91 kB / 288.9 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002135/0.02594, allocations: 83.67 kB / 289 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.02597, allocations: 12 kB / 289 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1305/0.1564, allocations: 1.992 MB / 291 MB, free: 23.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1564, allocations: 1.094 kB / 291 MB, free: 23.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009584/0.1574, allocations: 0.6347 MB / 291.7 MB, free: 23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.1575, allocations: 32.86 kB / 291.7 MB, free: 23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.1575, allocations: 10.08 kB / 291.7 MB, free: 23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.1576, allocations: 18.08 kB / 291.7 MB, free: 23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.1577, allocations: 40.22 kB / 291.8 MB, free: 23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.1577, allocations: 13.77 kB / 291.8 MB, free: 23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.534e-05/0.1578, allocations: 159.4 kB / 291.9 MB, free: 22.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1578, allocations: 0 / 291.9 MB, free: 22.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004649/0.1583, allocations: 152.9 kB / 292.1 MB, free: 22.89 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.0002608/0.1586, allocations: 142.6 kB / 292.2 MB, free: 22.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007974/0.1594, allocations: 0.5007 MB / 292.7 MB, free: 22.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.1594, allocations: 1.031 kB / 292.7 MB, free: 22.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.1597, allocations: 386 kB / 293.1 MB, free: 22.42 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.16, allocations: 32.16 kB / 293.1 MB, free: 22.42 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.1615, allocations: 0.7519 MB / 293.9 MB, free: 22.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.1616, allocations: 109.2 kB / 294 MB, free: 21.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.1617, allocations: 45.69 kB / 294 MB, free: 21.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.069e-05/0.1618, allocations: 38.91 kB / 294.1 MB, free: 21.98 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1618, allocations: 0 / 294.1 MB, free: 21.98 MB / 266.7 MB Notification: Performance of Templates: time 0.008324/0.1701, allocations: 4.216 MB / 298.3 MB, free: 21.55 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9657523897476494]