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.001143/0.001143, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.0009098/0.0009098, allocations: 141.7 kB / 24.89 MB, free: 8.785 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.9305/0.9305, allocations: 173.4 MB / 201.5 MB, free: 8.762 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.503e-06/1.503e-06, allocations: 0 / 268.5 MB, free: 5.988 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.263e-05, allocations: 2.312 kB / 268.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.006818/0.006841, allocations: 2.888 MB / 271.4 MB, free: 3.082 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004486/0.01133, allocations: 0.6968 MB / 272.1 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.0115, allocations: 11.94 kB / 272.1 MB, free: 2.367 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.01168, allocations: 55.44 kB / 272.2 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.01184, allocations: 91.14 kB / 272.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.01208, allocations: 91.8 kB / 272.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003429/0.01242, allocations: 394.2 kB / 272.7 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.01262, allocations: 108.4 kB / 272.8 MB, free: 1.637 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.01291, allocations: 227.5 kB / 273.1 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.01307, allocations: 115.7 kB / 273.2 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.01311, allocations: 35.94 kB / 273.2 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.961e-05/0.01315, allocations: 32 kB / 273.2 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003068/0.01622, allocations: 75.72 kB / 273.3 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.01632, allocations: 115.8 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.01661, allocations: 247.1 kB / 273.7 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.01661, allocations: 0 / 273.7 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01661, allocations: 0 / 273.7 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.01662, allocations: 4 kB / 273.7 MB, free: 0.8008 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.0006133/0.01723, allocations: 0.5078 MB / 274.2 MB, free: 276 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.462e-05/0.01726, allocations: 12.92 kB / 274.2 MB, free: 264 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.918e-05/0.01733, allocations: 44.91 kB / 274.2 MB, free: 220 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.01755, allocations: 181.2 kB / 274.4 MB, free: 12 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.01759, allocations: 29.05 kB / 274.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.01764, allocations: 36.36 kB / 274.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.01792, allocations: 262.7 kB / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.01793, allocations: 192 / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.01795, allocations: 12.38 kB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.01796, allocations: 11.94 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.01808, allocations: 76.55 kB / 274.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008881/0.01897, allocations: 0.6771 MB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/0.02211, allocations: 94.45 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.02217, allocations: 40.84 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.02218, allocations: 4 kB / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.02221, allocations: 38.56 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.014e-06/0.02221, allocations: 0 / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002012/0.02241, allocations: 108.8 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.02244, allocations: 59.34 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.02257, allocations: 190.3 kB / 276 MB, free: 14.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.02258, allocations: 29.7 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.02266, allocations: 184.3 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.0227, allocations: 67.38 kB / 276.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.02276, allocations: 45.69 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.02286, allocations: 334.8 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-05/0.0229, allocations: 16 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.401e-05/0.02297, allocations: 81.97 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.0231, allocations: 117.7 kB / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.0231, allocations: 0 / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001762/0.02328, allocations: 125.5 kB / 277 MB, free: 13.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.02329, allocations: 8 kB / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.0233, allocations: 4.125 kB / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.02331, allocations: 4 kB / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.02358, allocations: 75.83 kB / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.02358, allocations: 4 kB / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.751e-05/0.02366, allocations: 23.83 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.02367, allocations: 7.984 kB / 277.1 MB, free: 13.1 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.585e-05/0.02376, allocations: 125.8 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.0238, allocations: 23.92 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.02396, allocations: 115.3 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.02396, allocations: 8 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.02396, allocations: 0 / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.02397, allocations: 0 / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.02418, allocations: 149.7 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.02418, allocations: 0 / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.0244, allocations: 57.58 kB / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.0244, allocations: 0 / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.02442, allocations: 15.92 kB / 277.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.02442, allocations: 0 / 277.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.02442, allocations: 4 kB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.02464, allocations: 231.3 kB / 277.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.02467, allocations: 19.86 kB / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.02469, allocations: 7.922 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/0.02479, allocations: 12 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.02482, allocations: 15.97 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.02483, allocations: 4 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.669e-05/0.02488, allocations: 46 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02488, allocations: 0 / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.003275/0.02816, allocations: 79.78 kB / 278 MB, free: 12.15 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 0.000105/0.02826, allocations: 87.98 kB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.02841, allocations: 103.8 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.02841, allocations: 0 / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.381e-05/0.02847, allocations: 44.78 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.02868, allocations: 32.23 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009999/0.02968, allocations: 0.5941 MB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.093e-05/0.02974, allocations: 92.19 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.242e-05/0.02982, allocations: 25.88 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.02993, allocations: 87.34 kB / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02993, allocations: 0 / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of Templates: time 0.01072/0.04065, allocations: 2.046 MB / 281.1 MB, free: 9.035 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 -s gbode -gbm=radauIIA3 -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.6800052290782332]