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.0008886/0.0008886, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.0009018/0.0009018, allocations: 166.4 kB / 25.75 MB, free: 8.48 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.8513/0.8513, allocations: 158.6 MB / 187.6 MB, free: 2.902 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.583e-06/1.583e-06, allocations: 0 / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/2.984e-05, allocations: 2.312 kB / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005008/0.005038, allocations: 3.693 MB / 254.8 MB, free: 4.074 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.007359, allocations: 1.426 MB / 256.2 MB, free: 2.641 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.007559, allocations: 11.94 kB / 256.2 MB, free: 2.629 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.008982, allocations: 0.7932 MB / 257 MB, free: 1.832 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006284/0.00961, allocations: 401.8 kB / 257.4 MB, free: 1.438 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000628/0.01024, allocations: 0.5359 MB / 258 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.01064, allocations: 0.5054 MB / 258.5 MB, free: 404 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005652/0.01121, allocations: 426 kB / 258.9 MB, free: 15.97 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.01151, allocations: 327.2 kB / 259.2 MB, free: 15.65 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.01172, allocations: 227.3 kB / 259.4 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.792e-05/0.01177, allocations: 48 kB / 259.5 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.01204, allocations: 199.7 kB / 259.7 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.0121, allocations: 111.6 kB / 259.8 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.01222, allocations: 179.5 kB / 259.9 MB, free: 14.9 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004986/0.01272, allocations: 0.5176 MB / 260.5 MB, free: 14.38 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.01272, allocations: 0 / 260.5 MB, free: 14.38 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01272, allocations: 0 / 260.5 MB, free: 14.38 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.01272, allocations: 0 / 260.5 MB, free: 14.38 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.001409/0.01413, allocations: 0.9834 MB / 261.4 MB, free: 13.36 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.01417, allocations: 11.98 kB / 261.5 MB, free: 13.35 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002579/0.01675, allocations: 0.7419 MB / 262.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.01708, allocations: 259.9 kB / 262.5 MB, free: 12.32 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.01711, allocations: 41.69 kB / 262.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.554e-05/0.01718, allocations: 60.38 kB / 262.6 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006143/0.01779, allocations: 461.4 kB / 263 MB, free: 11.76 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.01781, allocations: 192 / 263 MB, free: 11.76 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/0.01786, allocations: 27.94 kB / 263 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.01787, allocations: 12 kB / 263 MB, free: 11.72 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000583/0.01846, allocations: 379.6 kB / 263.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.02031, allocations: 1.583 MB / 265 MB, free: 9.707 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009868/0.0213, allocations: 0.6665 MB / 265.7 MB, free: 9.047 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.02155, allocations: 181 kB / 265.8 MB, free: 8.867 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.558e-05/0.02159, allocations: 16.48 kB / 265.9 MB, free: 8.848 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.02162, allocations: 45.83 kB / 265.9 MB, free: 8.793 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 1.523e-06/0.02162, allocations: 0 / 265.9 MB, free: 8.793 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.0008902/0.02251, allocations: 0.5003 MB / 266.4 MB, free: 8.285 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.02254, allocations: 59.91 kB / 266.5 MB, free: 8.211 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.02268, allocations: 241.7 kB / 266.7 MB, free: 7.957 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.02271, allocations: 37.7 kB / 266.7 MB, free: 7.914 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.02282, allocations: 299.5 kB / 267 MB, free: 7.613 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.953e-05/0.02291, allocations: 174.5 kB / 267.2 MB, free: 7.441 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.981e-05/0.02301, allocations: 104 kB / 267.3 MB, free: 7.332 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.02312, allocations: 0.5117 MB / 267.8 MB, free: 6.809 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.02326, allocations: 89.25 kB / 267.9 MB, free: 6.719 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.02348, allocations: 269.9 kB / 268.2 MB, free: 6.391 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.02386, allocations: 384.8 kB / 268.5 MB, free: 5.949 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.02387, allocations: 4 kB / 268.5 MB, free: 5.945 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005733/0.02444, allocations: 485 kB / 269 MB, free: 5.461 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.02446, allocations: 12 kB / 269 MB, free: 5.449 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.02446, allocations: 0 / 269 MB, free: 5.449 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002747/0.02474, allocations: 91.61 kB / 269.1 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.02496, allocations: 111.8 kB / 269.2 MB, free: 5.246 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.0261, allocations: 1.998 MB / 271.2 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.02624, allocations: 51.62 kB / 271.3 MB, free: 3.074 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.02627, allocations: 24.03 kB / 271.3 MB, free: 3.051 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.0001283/0.02639, allocations: 192.4 kB / 271.5 MB, free: 2.852 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.02645, allocations: 43.86 kB / 271.5 MB, free: 2.809 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005532/0.027, allocations: 436.7 kB / 272 MB, free: 2.367 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.027, allocations: 4 kB / 272 MB, free: 2.363 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.02701, allocations: 0 / 272 MB, free: 2.363 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.02701, allocations: 7.938 kB / 272 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000918/0.02793, allocations: 0.942 MB / 272.9 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.02793, allocations: 4.062 kB / 272.9 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.02811, allocations: 83.89 kB / 273 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001975/0.02831, allocations: 83.62 kB / 273.1 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.02832, allocations: 12 kB / 273.1 MB, free: 1.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.02934, allocations: 2.002 MB / 275.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.02935, allocations: 3.984 kB / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006718/0.03002, allocations: 0.6497 MB / 275.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.03004, allocations: 39.67 kB / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.03007, allocations: 12 kB / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.03018, allocations: 19.98 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.03025, allocations: 32.44 kB / 275.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.03027, allocations: 19.98 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.427e-05/0.03034, allocations: 168.1 kB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03034, allocations: 4 kB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003267/0.03067, allocations: 163.6 kB / 276.2 MB, free: 13.93 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.0001725/0.03084, allocations: 131.1 kB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005893/0.03143, allocations: 0.5272 MB / 276.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.03143, allocations: 0 / 276.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.03173, allocations: 386.2 kB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.03197, allocations: 35.98 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.03316, allocations: 0.7952 MB / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.011e-05/0.03324, allocations: 122.6 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.03336, allocations: 50.95 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.641e-05/0.03343, allocations: 36.48 kB / 278.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.03343, allocations: 0 / 278.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of Templates: time 0.006239/0.03967, allocations: 4.319 MB / 282.6 MB, free: 7.449 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.8024403848685324]