Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.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.001436/0.001436, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0009088/0.0009088, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 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.979/0.979, allocations: 173.4 MB / 201.2 MB, free: 9.004 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.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 268 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.928e-05, allocations: 6.312 kB / 268 MB, free: 6.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.002946/0.002966, allocations: 2.876 MB / 270.9 MB, free: 3.398 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.003992, allocations: 0.6697 MB / 271.5 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.004125, allocations: 4 kB / 271.5 MB, free: 2.719 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.004291, allocations: 59.44 kB / 271.6 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.004425, allocations: 95.06 kB / 271.7 MB, free: 2.566 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.004655, allocations: 95.75 kB / 271.8 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.004944, allocations: 394.2 kB / 272.2 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.005126, allocations: 105.8 kB / 272.3 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.005363, allocations: 215.6 kB / 272.5 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.005496, allocations: 119.6 kB / 272.6 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/0.005539, allocations: 32 kB / 272.6 MB, free: 1.621 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.425e-05/0.005573, allocations: 36 kB / 272.7 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.005619, allocations: 71.73 kB / 272.7 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.191e-05/0.005701, allocations: 123.7 kB / 272.9 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.005945, allocations: 247 kB / 273.1 MB, free: 1.152 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.005947, allocations: 0 / 273.1 MB, free: 1.152 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005948, allocations: 3.938 kB / 273.1 MB, free: 1.148 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.005952, allocations: 0 / 273.1 MB, free: 1.148 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006298/0.006582, allocations: 0.6364 MB / 273.7 MB, free: 488 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.00662, allocations: 8.922 kB / 273.8 MB, free: 480 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.006698, allocations: 60.7 kB / 273.8 MB, free: 420 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.006928, allocations: 212 kB / 274 MB, free: 180 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.006948, allocations: 25.02 kB / 274 MB, free: 152 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.006993, allocations: 36.38 kB / 274.1 MB, free: 116 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.007331, allocations: 266.8 kB / 274.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.007343, allocations: 192 / 274.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.007366, allocations: 12.38 kB / 274.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.007385, allocations: 15.94 kB / 274.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.007551, allocations: 115.8 kB / 274.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009307/0.008482, allocations: 0.8557 MB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.008651, allocations: 118.7 kB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.236e-05/0.008713, allocations: 47.66 kB / 275.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.008729, allocations: 7.938 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.008753, allocations: 37.39 kB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.008755, allocations: 0 / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002417/0.008996, allocations: 148.7 kB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.009024, allocations: 55.41 kB / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.009159, allocations: 241.7 kB / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.009174, allocations: 29.7 kB / 276 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.684e-05/0.009271, allocations: 243.1 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.00931, allocations: 75.41 kB / 276.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.009368, allocations: 47.36 kB / 276.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.009492, allocations: 0.5001 MB / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.157e-05/0.009544, allocations: 27.91 kB / 276.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-05/0.009633, allocations: 97.78 kB / 277 MB, free: 13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.009775, allocations: 149.6 kB / 277.1 MB, free: 12.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.009778, allocations: 0 / 277.1 MB, free: 12.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002087/0.009987, allocations: 189.2 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.01, allocations: 8 kB / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.01001, allocations: 11.92 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.01002, allocations: 4 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.01018, allocations: 55.91 kB / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.01019, allocations: 4 kB / 277.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.01025, allocations: 24.02 kB / 277.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.01026, allocations: 12 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.949e-05/0.01035, allocations: 172.5 kB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.01038, allocations: 19.91 kB / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.01055, allocations: 142.4 kB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01055, allocations: 4 kB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01055, allocations: 0 / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01055, allocations: 3.938 kB / 277.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.01073, allocations: 224.4 kB / 278 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01073, allocations: 0 / 278 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.01087, allocations: 51.97 kB / 278 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01087, allocations: 0 / 278 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.01088, allocations: 8 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.01089, allocations: 3.938 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01089, allocations: 0 / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.01113, allocations: 323.6 kB / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.01115, allocations: 11.91 kB / 278.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.01117, allocations: 8 kB / 278.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.01124, allocations: 15.92 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.01129, allocations: 19.97 kB / 278.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.01129, allocations: 4 kB / 278.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.121e-05/0.01137, allocations: 172.3 kB / 278.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01137, allocations: 0 / 278.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000203/0.01157, allocations: 79.73 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.v) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.613e-05/0.01165, allocations: 103.2 kB / 278.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.01181, allocations: 103.5 kB / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01181, allocations: 256 / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.76e-05/0.01187, allocations: 66.47 kB / 278.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.01207, allocations: 27.92 kB / 279 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000985/0.01306, allocations: 0.7052 MB / 279.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.477e-05/0.01311, allocations: 92.19 kB / 279.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.289e-05/0.01317, allocations: 17.64 kB / 279.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.01321, allocations: 20.5 kB / 279.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01321, allocations: 0 / 279.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of Templates: time 0.00375/0.01696, allocations: 1.881 MB / 281.7 MB, free: 8.156 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/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.794489691965282]