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.001455/0.001455, allocations: 84.98 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.001171/0.001171, allocations: 175.6 kB / 26.39 MB, free: 8.008 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.883/0.883, allocations: 158.6 MB / 188.3 MB, free: 2.785 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.653e-06/1.653e-06, allocations: 0 / 252.2 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.513e-05, allocations: 6.25 kB / 252.2 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005384/0.005409, allocations: 3.634 MB / 255.9 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.008132, allocations: 1.414 MB / 257.3 MB, free: 2.168 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.008385, allocations: 15.94 kB / 257.3 MB, free: 2.152 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.009984, allocations: 0.7775 MB / 258.1 MB, free: 1.367 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.01105, allocations: 405.8 kB / 258.5 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006395/0.01169, allocations: 0.5213 MB / 259 MB, free: 456 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004248/0.01211, allocations: 0.4899 MB / 259.5 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004427/0.01256, allocations: 357.9 kB / 259.8 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.01285, allocations: 311.2 kB / 260.2 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.01306, allocations: 231.3 kB / 260.4 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.581e-05/0.01311, allocations: 44 kB / 260.4 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003151/0.01342, allocations: 191.7 kB / 260.6 MB, free: 14.84 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.01348, allocations: 115.6 kB / 260.7 MB, free: 14.72 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.01359, allocations: 171.5 kB / 260.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.01406, allocations: 0.5137 MB / 261.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.01406, allocations: 0 / 261.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01406, allocations: 3.938 kB / 261.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.01407, allocations: 0 / 261.4 MB, free: 14.04 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.00122/0.01529, allocations: 0.9717 MB / 262.4 MB, free: 13.02 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.01531, allocations: 11.98 kB / 262.4 MB, free: 13.01 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/0.01751, allocations: 0.7379 MB / 263.1 MB, free: 12.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.01779, allocations: 259.9 kB / 263.4 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.01782, allocations: 41.69 kB / 263.4 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.244e-05/0.01788, allocations: 56.38 kB / 263.5 MB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004295/0.01831, allocations: 405.4 kB / 263.9 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.01833, allocations: 4.172 kB / 263.9 MB, free: 11.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.01837, allocations: 23.94 kB / 263.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.01838, allocations: 20 kB / 263.9 MB, free: 11.44 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.01873, allocations: 310.1 kB / 264.2 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.02036, allocations: 1.536 MB / 265.8 MB, free: 9.535 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008594/0.02122, allocations: 0.6482 MB / 266.4 MB, free: 8.898 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.02133, allocations: 113.1 kB / 266.5 MB, free: 8.785 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.02137, allocations: 16.48 kB / 266.5 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.02139, allocations: 45.83 kB / 266.6 MB, free: 8.711 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 1.553e-06/0.02139, allocations: 0 / 266.6 MB, free: 8.711 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.0007643/0.02215, allocations: 0.5003 MB / 267.1 MB, free: 8.207 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.02218, allocations: 55.91 kB / 267.1 MB, free: 8.137 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.02229, allocations: 241.7 kB / 267.4 MB, free: 7.883 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.02231, allocations: 33.7 kB / 267.4 MB, free: 7.844 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.02242, allocations: 295.5 kB / 267.7 MB, free: 7.547 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.0225, allocations: 182.4 kB / 267.9 MB, free: 7.367 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.439e-05/0.0226, allocations: 115.9 kB / 268 MB, free: 7.246 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.02271, allocations: 0.5117 MB / 268.5 MB, free: 6.723 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/0.02278, allocations: 69.25 kB / 268.6 MB, free: 6.652 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.02292, allocations: 226.5 kB / 268.8 MB, free: 6.375 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.02318, allocations: 333.3 kB / 269.1 MB, free: 5.992 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.02318, allocations: 0 / 269.1 MB, free: 5.992 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004409/0.02362, allocations: 428.8 kB / 269.5 MB, free: 5.562 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.02363, allocations: 8 kB / 269.5 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.02364, allocations: 0 / 269.5 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002351/0.02388, allocations: 107.7 kB / 269.6 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.02408, allocations: 107.9 kB / 269.7 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.02524, allocations: 2.275 MB / 272 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.02537, allocations: 55.61 kB / 272.1 MB, free: 2.902 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.02539, allocations: 16 kB / 272.1 MB, free: 2.887 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.0001082/0.0255, allocations: 188.4 kB / 272.3 MB, free: 2.691 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.02555, allocations: 39.86 kB / 272.3 MB, free: 2.652 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.02598, allocations: 412.7 kB / 272.7 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.02598, allocations: 4 kB / 272.7 MB, free: 2.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.02599, allocations: 0 / 272.7 MB, free: 2.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.02599, allocations: 7.984 kB / 272.7 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007319/0.02672, allocations: 0.8069 MB / 273.5 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.02673, allocations: 0 / 273.5 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.02689, allocations: 75.91 kB / 273.6 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001983/0.02709, allocations: 99.59 kB / 273.7 MB, free: 1.207 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.0271, allocations: 4 kB / 273.7 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.0282, allocations: 2.294 MB / 276 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0282, allocations: 0 / 276 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.0287, allocations: 0.5757 MB / 276.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.451e-05/0.02872, allocations: 39.62 kB / 276.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.02875, allocations: 16.06 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.02885, allocations: 19.92 kB / 276.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.0289, allocations: 40.42 kB / 276.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.02892, allocations: 8 kB / 276.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.44e-05/0.02898, allocations: 168.1 kB / 276.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02898, allocations: 0 / 276.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003689/0.02935, allocations: 155.7 kB / 277 MB, free: 13.75 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.0001481/0.0295, allocations: 139.1 kB / 277.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004508/0.02995, allocations: 0.4924 MB / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.02995, allocations: 0 / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.03021, allocations: 369.6 kB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.03042, allocations: 32 kB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.03147, allocations: 0.7761 MB / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.679e-05/0.03155, allocations: 114.6 kB / 278.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.03167, allocations: 50.95 kB / 279 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.03181, allocations: 122.2 kB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.03181, allocations: 0 / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of Templates: time 0.006821/0.03863, allocations: 4.87 MB / 284 MB, free: 6.734 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.6804211609996855]