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.001587/0.001587, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001121/0.001121, allocations: 148.9 kB / 24.81 MB, free: 9.27 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 1.036/1.036, allocations: 173.4 MB / 201.4 MB, free: 9.223 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.483e-06/1.483e-06, allocations: 0 / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.105e-05, allocations: 2.312 kB / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.006951/0.006972, allocations: 2.846 MB / 271.3 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.008011, allocations: 0.6659 MB / 271.9 MB, free: 2.668 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.008156, allocations: 8 kB / 271.9 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.008333, allocations: 63.36 kB / 272 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00619/0.01452, allocations: 91.12 kB / 272.1 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.01477, allocations: 91.75 kB / 272.2 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.0151, allocations: 390.2 kB / 272.6 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.01529, allocations: 113.8 kB / 272.7 MB, free: 1.922 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.01556, allocations: 219.5 kB / 272.9 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.0157, allocations: 111.7 kB / 273 MB, free: 1.598 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.01575, allocations: 35.94 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.315e-05/0.01579, allocations: 32 kB / 273.1 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.273e-05/0.01584, allocations: 79.67 kB / 273.1 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.467e-05/0.01594, allocations: 111.8 kB / 273.2 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.0162, allocations: 251 kB / 273.5 MB, free: 1.098 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.01621, allocations: 4 kB / 273.5 MB, free: 1.094 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01621, allocations: 0 / 273.5 MB, free: 1.094 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.01621, allocations: 4 kB / 273.5 MB, free: 1.09 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.0008576/0.01707, allocations: 0.6286 MB / 274.1 MB, free: 436 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.0171, allocations: 8.922 kB / 274.1 MB, free: 428 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.448e-05/0.01718, allocations: 68.7 kB / 274.2 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003201/0.02038, allocations: 212 kB / 274.4 MB, free: 120 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.0204, allocations: 21.03 kB / 274.4 MB, free: 96 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.02043, allocations: 36.38 kB / 274.5 MB, free: 60 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.02067, allocations: 254.7 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.02068, allocations: 192 / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.0207, allocations: 16.38 kB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.02071, allocations: 11.94 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.266e-05/0.0208, allocations: 80.52 kB / 274.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007532/0.02155, allocations: 0.8249 MB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.02168, allocations: 115 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.056e-05/0.02172, allocations: 39.67 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.02174, allocations: 4 kB / 275.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.02176, allocations: 41.39 kB / 275.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.02176, allocations: 0 / 275.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001767/0.02193, allocations: 136.5 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.02196, allocations: 59.39 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.02206, allocations: 237.6 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.02207, allocations: 29.7 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.02216, allocations: 247 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.02219, allocations: 67.42 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.02225, allocations: 51.34 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.02235, allocations: 0.504 MB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.902e-05/0.02238, allocations: 19.98 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-05/0.02244, allocations: 93.77 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.02255, allocations: 133.6 kB / 277.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.02255, allocations: 0 / 277.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001525/0.0227, allocations: 165.3 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.02271, allocations: 8 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.02272, allocations: 128 / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.02273, allocations: 11.94 kB / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.02286, allocations: 63.84 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.02287, allocations: 0 / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.571e-05/0.02292, allocations: 19.89 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.02293, allocations: 11.98 kB / 277.7 MB, free: 12.62 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 7.502e-05/0.02301, allocations: 168.5 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.02304, allocations: 23.91 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.02317, allocations: 135.3 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.02318, allocations: 11.94 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.02318, allocations: 4 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.02318, allocations: 3.984 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.02334, allocations: 173 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.02334, allocations: 0 / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.02347, allocations: 51.97 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.02347, allocations: 0 / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.02348, allocations: 0 / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.02348, allocations: 4 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.02348, allocations: 3.938 kB / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.02369, allocations: 311.6 kB / 278.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.0237, allocations: 15.91 kB / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.02372, allocations: 4 kB / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.86e-05/0.02378, allocations: 11.98 kB / 278.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.02382, allocations: 19.97 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.02382, allocations: 3.938 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.934e-05/0.02388, allocations: 172.3 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02388, allocations: 0 / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001967/0.02408, allocations: 75.73 kB / 278.8 MB, free: 11.39 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 8.184e-05/0.02416, allocations: 111.3 kB / 278.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.02429, allocations: 98.61 kB / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.02429, allocations: 0 / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.52e-05/0.02434, allocations: 55.53 kB / 279.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.02453, allocations: 31.92 kB / 279.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008659/0.0254, allocations: 0.7015 MB / 279.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.566e-05/0.02544, allocations: 88.2 kB / 279.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.77e-05/0.02549, allocations: 13.64 kB / 279.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.691e-05/0.02558, allocations: 106.2 kB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02558, allocations: 4 kB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of Templates: time 0.003783/0.02936, allocations: 1.932 MB / 282 MB, free: 8.223 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.823984632268548]