Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.00097/0.00097, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001008/0.001008, allocations: 166.1 kB / 25.6 MB, free: 8.598 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.8624/0.8624, allocations: 158.6 MB / 187.5 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 251.5 MB, free: 7.125 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.391e-05, allocations: 2.312 kB / 251.5 MB, free: 7.121 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.003487/0.003501, allocations: 3.63 MB / 255.1 MB, free: 3.461 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.005461, allocations: 1.41 MB / 256.5 MB, free: 2.043 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.005633, allocations: 8 kB / 256.5 MB, free: 2.035 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009897/0.006623, allocations: 0.7853 MB / 257.3 MB, free: 1.246 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000735/0.007358, allocations: 405.8 kB / 257.7 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006549/0.008012, allocations: 0.5252 MB / 258.2 MB, free: 332 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003923/0.008405, allocations: 0.4976 MB / 258.7 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004083/0.008813, allocations: 358 kB / 259.1 MB, free: 15.47 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.009127, allocations: 311.2 kB / 259.4 MB, free: 15.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.009331, allocations: 223.4 kB / 259.6 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.009375, allocations: 44 kB / 259.6 MB, free: 14.9 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005548/0.00993, allocations: 203.7 kB / 259.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.009987, allocations: 107.6 kB / 259.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.01009, allocations: 171.5 kB / 260.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004853/0.01057, allocations: 0.5138 MB / 260.6 MB, free: 13.91 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.01058, allocations: 0 / 260.6 MB, free: 13.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01058, allocations: 3.938 kB / 260.6 MB, free: 13.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.01058, allocations: 0 / 260.6 MB, free: 13.91 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.001216/0.0118, allocations: 0.9717 MB / 261.6 MB, free: 12.9 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.01184, allocations: 15.98 kB / 261.6 MB, free: 12.88 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/0.014, allocations: 0.7379 MB / 262.4 MB, free: 12.14 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.01425, allocations: 256 kB / 262.6 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.01427, allocations: 37.69 kB / 262.6 MB, free: 11.83 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.01433, allocations: 64.36 kB / 262.7 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.01473, allocations: 401.4 kB / 263.1 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.01475, allocations: 4.125 kB / 263.1 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.01479, allocations: 27.94 kB / 263.1 MB, free: 11.33 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.0148, allocations: 12 kB / 263.1 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.01512, allocations: 310.1 kB / 263.4 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.01669, allocations: 1.54 MB / 265 MB, free: 9.41 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008287/0.01752, allocations: 0.6481 MB / 265.6 MB, free: 8.773 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.01762, allocations: 113.1 kB / 265.7 MB, free: 8.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.01766, allocations: 24.47 kB / 265.8 MB, free: 8.633 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.01769, allocations: 45.88 kB / 265.8 MB, free: 8.578 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 1.623e-06/0.01769, allocations: 4 kB / 265.8 MB, free: 8.574 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.0007859/0.01847, allocations: 0.4963 MB / 266.3 MB, free: 8.074 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.0185, allocations: 55.91 kB / 266.4 MB, free: 8.004 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.01862, allocations: 241.6 kB / 266.6 MB, free: 7.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.01864, allocations: 37.7 kB / 266.6 MB, free: 7.707 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.01875, allocations: 295.5 kB / 266.9 MB, free: 7.41 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003209/0.01907, allocations: 182.4 kB / 267.1 MB, free: 7.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.484e-05/0.01917, allocations: 107.9 kB / 267.2 MB, free: 7.117 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.01928, allocations: 0.5078 MB / 267.7 MB, free: 6.598 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.467e-05/0.01935, allocations: 69.25 kB / 267.8 MB, free: 6.527 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.0195, allocations: 238.4 kB / 268 MB, free: 6.238 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.01974, allocations: 333.4 kB / 268.3 MB, free: 5.855 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01975, allocations: 0 / 268.3 MB, free: 5.855 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000433/0.02018, allocations: 432.6 kB / 268.8 MB, free: 5.422 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.02019, allocations: 4 kB / 268.8 MB, free: 5.418 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.0202, allocations: 4 kB / 268.8 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/0.02044, allocations: 104 kB / 268.9 MB, free: 5.309 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.02065, allocations: 107.8 kB / 269 MB, free: 5.203 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.02183, allocations: 2.28 MB / 271.3 MB, free: 2.816 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.02197, allocations: 55.62 kB / 271.3 MB, free: 2.762 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.02199, allocations: 16 kB / 271.3 MB, free: 2.746 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.0221, allocations: 192.4 kB / 271.5 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.02214, allocations: 35.86 kB / 271.5 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004292/0.02257, allocations: 404.7 kB / 271.9 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.02258, allocations: 4 kB / 271.9 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.02258, allocations: 0 / 271.9 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.02258, allocations: 7.984 kB / 272 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007651/0.02335, allocations: 0.8068 MB / 272.8 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.02335, allocations: 0 / 272.8 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.02352, allocations: 79.89 kB / 272.8 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000197/0.02372, allocations: 95.56 kB / 272.9 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.02373, allocations: 8 kB / 272.9 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/0.0251, allocations: 2.291 MB / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.0251, allocations: 0 / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005036/0.0256, allocations: 0.5836 MB / 275.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.02563, allocations: 43.62 kB / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.02565, allocations: 8 kB / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.02576, allocations: 15.98 kB / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.02582, allocations: 40.42 kB / 275.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.02583, allocations: 12 kB / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.136e-05/0.02589, allocations: 164.1 kB / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02589, allocations: 0 / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003839/0.02627, allocations: 159.7 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001642/0.02644, allocations: 139.1 kB / 276.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004565/0.0269, allocations: 495.8 kB / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.0269, allocations: 0 / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.02714, allocations: 377.9 kB / 277.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.02736, allocations: 28 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.02844, allocations: 0.7684 MB / 278 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.741e-05/0.02851, allocations: 114.6 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.02864, allocations: 50.95 kB / 278.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.02876, allocations: 126.2 kB / 278.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02877, allocations: 0 / 278.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of Templates: time 0.006942/0.03571, allocations: 4.758 MB / 283.1 MB, free: 6.707 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.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.5354480957612395]