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.00139/0.00139, allocations: 80.62 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.001157/0.001157, allocations: 149.9 kB / 25.59 MB, free: 8.117 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.9229/0.9229, allocations: 173.4 MB / 202.2 MB, free: 8.285 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.062e-06/1.062e-06, allocations: 0 / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.422e-05, allocations: 6.297 kB / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.002888/0.002902, allocations: 2.838 MB / 272 MB, free: 6.941 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009546/0.003856, allocations: 0.6619 MB / 272.7 MB, free: 6.277 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.004005, allocations: 8.969 kB / 272.7 MB, free: 6.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.00417, allocations: 51.44 kB / 272.8 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.004316, allocations: 96.88 kB / 272.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.004548, allocations: 92.44 kB / 273 MB, free: 6.035 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.004858, allocations: 398.9 kB / 273.3 MB, free: 5.645 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003819/0.00524, allocations: 101.8 kB / 273.4 MB, free: 5.543 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.005468, allocations: 224.2 kB / 273.7 MB, free: 5.324 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.005591, allocations: 114.2 kB / 273.8 MB, free: 5.215 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.005626, allocations: 35.94 kB / 273.8 MB, free: 5.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.176e-05/0.005658, allocations: 32 kB / 273.8 MB, free: 5.148 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.005705, allocations: 75.72 kB / 273.9 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.805e-05/0.005783, allocations: 119.7 kB / 274 MB, free: 4.957 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.006019, allocations: 251.1 kB / 274.3 MB, free: 4.711 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.006021, allocations: 0.9688 kB / 274.3 MB, free: 4.711 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006021, allocations: 0 / 274.3 MB, free: 4.711 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.006026, allocations: 0 / 274.3 MB, free: 4.711 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.0005983/0.006624, allocations: 0.633 MB / 274.9 MB, free: 4.043 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.006663, allocations: 12.03 kB / 274.9 MB, free: 4.031 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.732e-05/0.006751, allocations: 64.7 kB / 275 MB, free: 3.969 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.006999, allocations: 212.5 kB / 275.2 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.007022, allocations: 24.97 kB / 275.2 MB, free: 3.707 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.007061, allocations: 32.38 kB / 275.2 MB, free: 3.676 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.007321, allocations: 246.8 kB / 275.5 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.007332, allocations: 8.125 kB / 275.5 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.007353, allocations: 16.38 kB / 275.5 MB, free: 3.395 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.007362, allocations: 11.94 kB / 275.5 MB, free: 3.383 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.007468, allocations: 88.48 kB / 275.6 MB, free: 3.301 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008141/0.008282, allocations: 0.8133 MB / 276.4 MB, free: 2.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.008417, allocations: 107.1 kB / 276.5 MB, free: 2.312 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/0.008461, allocations: 47.64 kB / 276.6 MB, free: 2.262 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.008476, allocations: 4 kB / 276.6 MB, free: 2.258 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.008497, allocations: 33.39 kB / 276.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.462e-06/0.008498, allocations: 0 / 276.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002027/0.008701, allocations: 143.5 kB / 276.8 MB, free: 2.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.008728, allocations: 59.34 kB / 276.8 MB, free: 2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.008849, allocations: 242.5 kB / 277 MB, free: 1.746 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.008864, allocations: 29.7 kB / 277.1 MB, free: 1.711 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.054e-05/0.008955, allocations: 239.1 kB / 277.3 MB, free: 1.473 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.008992, allocations: 75.36 kB / 277.4 MB, free: 1.398 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.009044, allocations: 55.33 kB / 277.4 MB, free: 1.336 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.009157, allocations: 0.4962 MB / 277.9 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.319e-05/0.00919, allocations: 23.97 kB / 278 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.118e-05/0.009251, allocations: 89.77 kB / 278 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.009359, allocations: 145.5 kB / 278.2 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.009361, allocations: 0 / 278.2 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001672/0.009528, allocations: 165.4 kB / 278.3 MB, free: 356 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.00954, allocations: 4 kB / 278.4 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.009546, allocations: 0 / 278.4 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.00956, allocations: 7.938 kB / 278.4 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.009709, allocations: 64.03 kB / 278.4 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.009717, allocations: 3.984 kB / 278.4 MB, free: 276 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.259e-05/0.009779, allocations: 23.84 kB / 278.4 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.009789, allocations: 8 kB / 278.5 MB, free: 244 kB / 250.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.679e-05/0.009876, allocations: 172.5 kB / 278.6 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.009907, allocations: 23.91 kB / 278.6 MB, free: 36 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.01008, allocations: 133.7 kB / 278.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01008, allocations: 7.938 kB / 278.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.01008, allocations: 0 / 278.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01009, allocations: 0 / 278.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.01026, allocations: 185 kB / 279 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01026, allocations: 4 kB / 279 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.01039, allocations: 47.98 kB / 279 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.0104, allocations: 0 / 279 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.01041, allocations: 0 / 279 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01041, allocations: 7.984 kB / 279 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01041, allocations: 0 / 279 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.01063, allocations: 315.6 kB / 279.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.01064, allocations: 15.89 kB / 279.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.01067, allocations: 8 kB / 279.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.01074, allocations: 12 kB / 279.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.01077, allocations: 15.97 kB / 279.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.01078, allocations: 3.938 kB / 279.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.866e-05/0.01084, allocations: 168.3 kB / 279.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01084, allocations: 0 / 279.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002016/0.01104, allocations: 75.73 kB / 279.6 MB, free: 15.01 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.556e-05/0.01111, allocations: 103.2 kB / 279.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.01126, allocations: 107.5 kB / 279.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.01126, allocations: 0 / 279.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.893e-05/0.01131, allocations: 58.41 kB / 279.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.01151, allocations: 27.94 kB / 279.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.01268, allocations: 0.6937 MB / 280.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.825e-05/0.01273, allocations: 88.2 kB / 280.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.275e-05/0.01278, allocations: 17.64 kB / 280.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.288e-05/0.01287, allocations: 110.2 kB / 280.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01287, allocations: 0 / 280.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of Templates: time 0.00366/0.01654, allocations: 1.976 MB / 282.8 MB, free: 11.8 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.864036194048822]