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.001292/0.001292, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001391/0.001391, allocations: 145.2 kB / 25.59 MB, free: 8.918 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.9639/0.9639, allocations: 173.4 MB / 202.2 MB, free: 8.273 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.373e-06/1.373e-06, allocations: 0 / 269.2 MB, free: 9.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.71e-05, allocations: 5.266 kB / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003573/0.00359, allocations: 3.588 MB / 272.8 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.005624, allocations: 1.362 MB / 274.1 MB, free: 4.836 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.00579, allocations: 15.94 kB / 274.2 MB, free: 4.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009687/0.006758, allocations: 0.7697 MB / 274.9 MB, free: 4.051 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007033/0.007462, allocations: 0.5229 MB / 275.5 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.007917, allocations: 399.6 kB / 275.8 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.008256, allocations: 485.7 kB / 276.3 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003772/0.008633, allocations: 346 kB / 276.7 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.008913, allocations: 291.4 kB / 276.9 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.009103, allocations: 207.4 kB / 277.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.009145, allocations: 44 kB / 277.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.009413, allocations: 199.6 kB / 277.4 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.009467, allocations: 107.6 kB / 277.5 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.009567, allocations: 163.6 kB / 277.6 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.01002, allocations: 0.4904 MB / 278.1 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.01002, allocations: 4 kB / 278.1 MB, free: 0.832 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01002, allocations: 0 / 278.1 MB, free: 0.832 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.299e-06/0.01003, allocations: 0 / 278.1 MB, free: 0.832 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001159/0.01119, allocations: 0.9484 MB / 279.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.01122, allocations: 8.031 kB / 279.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.01299, allocations: 0.6131 MB / 279.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.01324, allocations: 247.9 kB / 280 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.01327, allocations: 45.67 kB / 280 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-05/0.01332, allocations: 56.33 kB / 280.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.01369, allocations: 373.4 kB / 280.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.01371, allocations: 8.172 kB / 280.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.01374, allocations: 24.12 kB / 280.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.01375, allocations: 12 kB / 280.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.01404, allocations: 274.2 kB / 280.7 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.01572, allocations: 1.45 MB / 282.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/0.01644, allocations: 0.5576 MB / 282.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.77e-05/0.01654, allocations: 113.1 kB / 282.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.01658, allocations: 16.48 kB / 282.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.0166, allocations: 41.83 kB / 282.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.703e-06/0.0166, allocations: 0 / 282.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0007753/0.01738, allocations: 0.4924 MB / 283.4 MB, free: 11.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.0174, allocations: 59.91 kB / 283.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.0175, allocations: 227.7 kB / 283.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.01753, allocations: 33.7 kB / 283.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.753e-05/0.01763, allocations: 279.6 kB / 284 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.424e-05/0.01771, allocations: 170.5 kB / 284.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.681e-05/0.0178, allocations: 87.81 kB / 284.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.01791, allocations: 0.5079 MB / 284.7 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.105e-05/0.01798, allocations: 64.94 kB / 284.8 MB, free: 9.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.0181, allocations: 174.8 kB / 285 MB, free: 9.723 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.0183, allocations: 255.4 kB / 285.2 MB, free: 9.441 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.01831, allocations: 4 kB / 285.2 MB, free: 9.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000396/0.0187, allocations: 396.6 kB / 285.6 MB, free: 9.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.01871, allocations: 8 kB / 285.6 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.01872, allocations: 0 / 285.6 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002268/0.01895, allocations: 95.73 kB / 285.7 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.01913, allocations: 91.89 kB / 285.8 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.02026, allocations: 2.287 MB / 288.1 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.02063, allocations: 47.61 kB / 288.1 MB, free: 6.402 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.02065, allocations: 12.08 kB / 288.2 MB, free: 6.391 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.000107/0.02075, allocations: 180.5 kB / 288.3 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.0208, allocations: 35.86 kB / 288.4 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/0.02122, allocations: 388.1 kB / 288.7 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.02123, allocations: 7.938 kB / 288.8 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.02123, allocations: 4 kB / 288.8 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.02124, allocations: 3.984 kB / 288.8 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007096/0.02195, allocations: 0.8146 MB / 289.6 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.02195, allocations: 0 / 289.6 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.0221, allocations: 75.91 kB / 289.6 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000184/0.02229, allocations: 87.61 kB / 289.7 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.02231, allocations: 15.98 kB / 289.8 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.02335, allocations: 2.283 MB / 292 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.02335, allocations: 0 / 292 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/0.02384, allocations: 0.5679 MB / 292.6 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.02386, allocations: 27.73 kB / 292.6 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.02389, allocations: 16.06 kB / 292.6 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.02399, allocations: 15.98 kB / 292.7 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.02404, allocations: 32.44 kB / 292.7 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.02405, allocations: 12 kB / 292.7 MB, free: 1.641 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.336e-05/0.02411, allocations: 157.1 kB / 292.9 MB, free: 1.488 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02411, allocations: 0 / 292.9 MB, free: 1.488 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003386/0.02445, allocations: 151.6 kB / 293 MB, free: 1.34 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.00015/0.0246, allocations: 135.2 kB / 293.1 MB, free: 1.199 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004582/0.02505, allocations: 479.8 kB / 293.6 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.02506, allocations: 0 / 293.6 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.0253, allocations: 365.1 kB / 294 MB, free: 340 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.02551, allocations: 40.11 kB / 294 MB, free: 300 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009305/0.02644, allocations: 0.7177 MB / 294.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.643e-05/0.02651, allocations: 114.2 kB / 294.8 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.02662, allocations: 42.95 kB / 294.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.02674, allocations: 114.2 kB / 295 MB, free: 15.26 MB / 282.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02674, allocations: 4 kB / 295 MB, free: 15.25 MB / 282.7 MB Notification: Performance of Templates: time 0.006862/0.03361, allocations: 4.75 MB / 299.7 MB, free: 10.55 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] 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","",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.724872225895524]