Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.0008388/0.0008388, allocations: 84 kB / 21.43 MB, free: 3.133 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.003842/0.003842, allocations: 145 kB / 24.68 MB, free: 9.438 MB / 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 0.8217/0.8217, allocations: 173.4 MB / 201.2 MB, free: 9.414 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 319.7 MB, free: 5.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.894e-05, allocations: 9.516 kB / 319.7 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.002989/0.003008, allocations: 3.379 MB / 323.1 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.004432, allocations: 1.328 MB / 324.4 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.004561, allocations: 8 kB / 324.4 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008996/0.005461, allocations: 0.7386 MB / 325.1 MB, free: 236 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006094/0.00607, allocations: 0.5194 MB / 325.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.006488, allocations: 413.4 kB / 326.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.006796, allocations: 481.7 kB / 326.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003994/0.007195, allocations: 350 kB / 326.9 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.007442, allocations: 291.4 kB / 327.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.007617, allocations: 207.4 kB / 327.4 MB, free: 14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/0.007659, allocations: 44 kB / 327.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.007879, allocations: 199.7 kB / 327.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.007934, allocations: 107.5 kB / 327.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.407e-05/0.008028, allocations: 159.6 kB / 327.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.008551, allocations: 0.7008 MB / 328.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.008554, allocations: 4 kB / 328.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.008555, allocations: 0 / 328.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.008561, allocations: 0 / 328.6 MB, free: 12.8 MB / 298.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.001232/0.009792, allocations: 0.8368 MB / 329.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.009832, allocations: 12.03 kB / 329.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.01142, allocations: 492.2 kB / 329.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.01172, allocations: 253 kB / 330.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.01174, allocations: 37.69 kB / 330.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.0118, allocations: 52.38 kB / 330.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00057/0.01237, allocations: 0.5397 MB / 330.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.01239, allocations: 192 / 330.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.01242, allocations: 28.06 kB / 330.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.01243, allocations: 12 kB / 330.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005967/0.01303, allocations: 0.5673 MB / 331.4 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.01456, allocations: 1.478 MB / 332.9 MB, free: 8.371 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008577/0.01541, allocations: 0.5673 MB / 333.4 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.01562, allocations: 186.2 kB / 333.6 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.081e-05/0.01566, allocations: 16.48 kB / 333.6 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.01568, allocations: 39.06 kB / 333.7 MB, free: 7.551 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.563e-06/0.01568, allocations: 0 / 333.7 MB, free: 7.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001058/0.01674, allocations: 0.7122 MB / 334.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.01677, allocations: 59.91 kB / 334.4 MB, free: 6.762 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.01688, allocations: 178.8 kB / 334.6 MB, free: 6.578 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.0169, allocations: 33.7 kB / 334.6 MB, free: 6.539 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.01699, allocations: 225 kB / 334.9 MB, free: 6.316 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.661e-05/0.01706, allocations: 162.5 kB / 335 MB, free: 6.156 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-05/0.01715, allocations: 90.14 kB / 335.1 MB, free: 6.059 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.916e-05/0.01723, allocations: 330.8 kB / 335.4 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.0174, allocations: 152.9 kB / 335.6 MB, free: 5.578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.0176, allocations: 224.3 kB / 335.8 MB, free: 5.336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.01799, allocations: 400.7 kB / 336.2 MB, free: 4.918 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01799, allocations: 0 / 336.2 MB, free: 4.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005703/0.01856, allocations: 0.5331 MB / 336.7 MB, free: 4.375 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.01858, allocations: 11.98 kB / 336.7 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.01858, allocations: 0 / 336.7 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002295/0.01881, allocations: 93.03 kB / 336.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.01899, allocations: 87.83 kB / 336.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.02023, allocations: 1.899 MB / 338.8 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.02034, allocations: 39.73 kB / 338.9 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.02036, allocations: 23.92 kB / 338.9 MB, free: 2.121 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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.0001221/0.02048, allocations: 168.9 kB / 339 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.02052, allocations: 27.8 kB / 339.1 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006216/0.02114, allocations: 0.5481 MB / 339.6 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.02114, allocations: 4 kB / 339.6 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.02114, allocations: 0 / 339.6 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.02115, allocations: 3.984 kB / 339.6 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009151/0.02207, allocations: 0.9683 MB / 340.6 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.02207, allocations: 0 / 340.6 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.02222, allocations: 75.89 kB / 340.7 MB, free: 276 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001513/0.02237, allocations: 88.8 kB / 340.8 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.02239, allocations: 15.94 kB / 340.8 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.02351, allocations: 1.903 MB / 342.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.02351, allocations: 0 / 342.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007636/0.02427, allocations: 0.7952 MB / 343.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.02429, allocations: 27.73 kB / 343.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.02431, allocations: 12.12 kB / 343.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.02441, allocations: 15.98 kB / 343.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.02447, allocations: 40.42 kB / 343.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.02449, allocations: 12 kB / 343.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.259e-05/0.02455, allocations: 123.2 kB / 343.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02455, allocations: 0 / 343.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003366/0.02489, allocations: 151.6 kB / 343.8 MB, free: 12.97 MB / 314.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 (42): * Single equations (assignments): 41 * 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.000172/0.02506, allocations: 139.1 kB / 344 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006078/0.02567, allocations: 0.5437 MB / 344.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.02567, allocations: 0 / 344.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.02596, allocations: 365.6 kB / 344.9 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.02618, allocations: 30.97 kB / 344.9 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008459/0.02703, allocations: 0.7947 MB / 345.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.02714, allocations: 200.8 kB / 345.9 MB, free: 10.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.02722, allocations: 40.48 kB / 345.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02723, allocations: 3.938 kB / 345.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of Templates: time 0.005202/0.03243, allocations: 6.419 MB / 352.4 MB, free: 4.359 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.439120886847377]