Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009846/0.0009846, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008734/0.0008734, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.009/1.009, allocations: 177 MB / 205.1 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.025e-05, allocations: 9.266 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.00477/0.00479, allocations: 3.603 MB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.006844, allocations: 1.433 MB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.007018, allocations: 8 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.008335, allocations: 0.7659 MB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007852/0.00912, allocations: 393.8 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008151/0.009935, allocations: 0.513 MB / 280 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004524/0.01039, allocations: 477.7 kB / 280.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005191/0.01091, allocations: 362 kB / 280.9 MB, free: 9.664 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.01128, allocations: 299.2 kB / 281.2 MB, free: 9.371 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.01155, allocations: 211.4 kB / 281.4 MB, free: 9.164 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.01161, allocations: 40 kB / 281.4 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/0.01198, allocations: 203.7 kB / 281.6 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.931e-05/0.01206, allocations: 103.6 kB / 281.7 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.0122, allocations: 163.6 kB / 281.9 MB, free: 8.664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000639/0.01284, allocations: 0.502 MB / 282.4 MB, free: 8.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.01285, allocations: 8 kB / 282.4 MB, free: 8.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01285, allocations: 0 / 282.4 MB, free: 8.152 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.01285, allocations: 3.984 kB / 282.4 MB, free: 8.148 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.001657/0.01451, allocations: 0.9445 MB / 283.3 MB, free: 7.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.01454, allocations: 11.98 kB / 283.3 MB, free: 7.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003059/0.0176, allocations: 0.5858 MB / 283.9 MB, free: 6.566 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.01791, allocations: 259.8 kB / 284.2 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.01794, allocations: 37.69 kB / 284.2 MB, free: 6.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-05/0.01802, allocations: 52.38 kB / 284.3 MB, free: 6.199 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005375/0.01856, allocations: 381.4 kB / 284.6 MB, free: 5.812 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.01857, allocations: 192 / 284.6 MB, free: 5.812 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.224e-05/0.01864, allocations: 24.12 kB / 284.7 MB, free: 5.789 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.01865, allocations: 12 kB / 284.7 MB, free: 5.777 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.01911, allocations: 274.1 kB / 284.9 MB, free: 5.512 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.02131, allocations: 1.465 MB / 286.4 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.02246, allocations: 0.5621 MB / 287 MB, free: 3.406 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.02263, allocations: 101.1 kB / 287.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.979e-05/0.02271, allocations: 36.45 kB / 287.1 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.02274, allocations: 53.75 kB / 287.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.773e-06/0.02275, allocations: 3.938 kB / 287.2 MB, free: 3.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001196/0.02394, allocations: 0.4963 MB / 287.6 MB, free: 2.695 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.02397, allocations: 55.91 kB / 287.7 MB, free: 2.629 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.02413, allocations: 229.7 kB / 287.9 MB, free: 2.387 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.02416, allocations: 33.7 kB / 288 MB, free: 2.348 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.0243, allocations: 275.7 kB / 288.2 MB, free: 2.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.02441, allocations: 166.6 kB / 288.4 MB, free: 1.906 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.02455, allocations: 91.77 kB / 288.5 MB, free: 1.809 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.02473, allocations: 0.5079 MB / 289 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.02485, allocations: 68.88 kB / 289.1 MB, free: 1.223 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.02505, allocations: 170.9 kB / 289.2 MB, free: 1.023 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.02541, allocations: 267.3 kB / 289.5 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.02541, allocations: 0 / 289.5 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006624/0.02607, allocations: 392.7 kB / 289.9 MB, free: 344 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.02609, allocations: 8 kB / 289.9 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.0261, allocations: 0 / 289.9 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003369/0.02643, allocations: 99.8 kB / 290 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.02672, allocations: 87.83 kB / 290.1 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1203/0.147, allocations: 2.276 MB / 292.3 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.1472, allocations: 39.83 kB / 292.4 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.1473, allocations: 19.56 kB / 292.4 MB, free: 19.27 MB / 266.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.0001127/0.1474, allocations: 179.2 kB / 292.6 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.1474, allocations: 39.88 kB / 292.6 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004756/0.1479, allocations: 392.1 kB / 293 MB, free: 19.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1479, allocations: 8.688 kB / 293 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1479, allocations: 3.375 kB / 293 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.1479, allocations: 2.859 kB / 293 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007743/0.1487, allocations: 0.8034 MB / 293.8 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1487, allocations: 0 / 293.8 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.1489, allocations: 79.2 kB / 293.9 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001938/0.149, allocations: 87.08 kB / 294 MB, free: 18.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.1491, allocations: 12 kB / 294 MB, free: 18.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008605/0.1499, allocations: 2.28 MB / 296.3 MB, free: 16.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1499, allocations: 1.031 kB / 296.3 MB, free: 16.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/0.1505, allocations: 0.5689 MB / 296.8 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.1505, allocations: 37.7 kB / 296.9 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1505, allocations: 11.95 kB / 296.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1506, allocations: 16.72 kB / 296.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.133e-05/0.1507, allocations: 36.75 kB / 296.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.1507, allocations: 13.14 kB / 296.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.932e-05/0.1507, allocations: 157.7 kB / 297.1 MB, free: 16.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1507, allocations: 1.125 kB / 297.1 MB, free: 16.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004136/0.1511, allocations: 154.5 kB / 297.2 MB, free: 16.43 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 (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.0001459/0.1513, allocations: 138 kB / 297.4 MB, free: 16.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000446/0.1517, allocations: 485.4 kB / 297.9 MB, free: 16.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1517, allocations: 0 / 297.9 MB, free: 16.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.152, allocations: 364.2 kB / 298.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.1522, allocations: 32.34 kB / 298.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009054/0.1531, allocations: 0.7181 MB / 299 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.908e-05/0.1532, allocations: 110.5 kB / 299.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.1533, allocations: 45.95 kB / 299.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.1534, allocations: 120.1 kB / 299.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1534, allocations: 2.062 kB / 299.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of Templates: time 0.006852/0.1602, allocations: 4.797 MB / 304 MB, free: 15 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/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.751445289235562]