Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001036/0.001036, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.0008455/0.0008455, allocations: 147 kB / 24.89 MB, free: 8.789 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.033/1.033, allocations: 173.4 MB / 201.5 MB, free: 8.77 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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 268.5 MB, free: 5.957 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.531e-05, allocations: 6.25 kB / 268.6 MB, free: 5.949 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006445/0.00647, allocations: 5.06 MB / 273.6 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002961/0.009431, allocations: 1.488 MB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003994/0.00983, allocations: 35.69 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.01017, allocations: 217.7 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003994/0.01057, allocations: 221.6 kB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005309/0.0111, allocations: 395.3 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007458/0.01185, allocations: 1.149 MB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003568/0.01221, allocations: 328.8 kB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004544/0.01266, allocations: 0.5962 MB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.01292, allocations: 294.9 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.539e-05/0.013, allocations: 88 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.01314, allocations: 99.92 kB / 278.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.01324, allocations: 223 kB / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.01342, allocations: 319 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005838/0.01401, allocations: 0.7661 MB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.01401, allocations: 0 / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01401, allocations: 0 / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.01402, allocations: 0 / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001016/0.01504, allocations: 1.246 MB / 281 MB, free: 9.363 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.01507, allocations: 8.031 kB / 281 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.0152, allocations: 159.9 kB / 281.2 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.01578, allocations: 0.5393 MB / 281.7 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.01582, allocations: 74 kB / 281.8 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.0159, allocations: 99.95 kB / 281.9 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007739/0.01667, allocations: 0.9173 MB / 282.8 MB, free: 7.406 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.01669, allocations: 7.938 kB / 282.8 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.01673, allocations: 44 kB / 282.9 MB, free: 7.355 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.01675, allocations: 24 kB / 282.9 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.01711, allocations: 305.3 kB / 283.2 MB, free: 7.035 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/0.01973, allocations: 4.792 MB / 288 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.02, allocations: 161 kB / 288.1 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.02011, allocations: 93.8 kB / 288.2 MB, free: 1.711 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.567e-05/0.02018, allocations: 15.98 kB / 288.2 MB, free: 1.695 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.0202, allocations: 38.56 kB / 288.3 MB, free: 1.648 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 2.425e-06/0.02021, allocations: 0 / 288.3 MB, free: 1.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002003/0.02221, allocations: 1.079 MB / 289.4 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.02224, allocations: 85.11 kB / 289.4 MB, free: 424 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1016/0.1238, allocations: 0.6008 MB / 290.1 MB, free: 26.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/0.1239, allocations: 32.2 kB / 290.1 MB, free: 26.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.1241, allocations: 0.5301 MB / 290.6 MB, free: 25.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.472e-05/0.1242, allocations: 158.5 kB / 290.8 MB, free: 25.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.1244, allocations: 137.9 kB / 290.9 MB, free: 25.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1245, allocations: 391.5 kB / 291.3 MB, free: 25.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.1246, allocations: 62.56 kB / 291.3 MB, free: 25.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.1248, allocations: 416.9 kB / 291.8 MB, free: 25.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.1252, allocations: 0.5439 MB / 292.3 MB, free: 24.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.1252, allocations: 7.75 kB / 292.3 MB, free: 24.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0005531/0.1257, allocations: 471.4 kB / 292.8 MB, free: 24.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.1257, allocations: 11.16 kB / 292.8 MB, free: 24.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.1258, allocations: 19.69 kB / 292.8 MB, free: 24.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.1258, allocations: 17.11 kB / 292.8 MB, free: 24.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.1263, allocations: 214.1 kB / 293 MB, free: 24.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.1263, allocations: 22.06 kB / 293 MB, free: 24.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.1265, allocations: 33.25 kB / 293.1 MB, free: 24.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.1265, allocations: 30.36 kB / 293.1 MB, free: 24.61 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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 0.0001505/0.1267, allocations: 172.6 kB / 293.3 MB, free: 24.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/0.1268, allocations: 56.42 kB / 293.3 MB, free: 24.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.164e-05/0.1268, allocations: 74.66 kB / 293.4 MB, free: 24.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.1269, allocations: 4.375 kB / 293.4 MB, free: 24.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1269, allocations: 5.031 kB / 293.4 MB, free: 24.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1269, allocations: 2.703 kB / 293.4 MB, free: 24.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009809/0.1278, allocations: 0.7861 MB / 294.2 MB, free: 24.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1279, allocations: 1.812 kB / 294.2 MB, free: 24.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.1281, allocations: 112.8 kB / 294.3 MB, free: 24.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1282, allocations: 4.062 kB / 294.3 MB, free: 24.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.1282, allocations: 14.78 kB / 294.3 MB, free: 24.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.1282, allocations: 4.156 kB / 294.3 MB, free: 24.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.1282, allocations: 5.906 kB / 294.3 MB, free: 24.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.1285, allocations: 455.7 kB / 294.8 MB, free: 23.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.1286, allocations: 74.22 kB / 294.9 MB, free: 23.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.1286, allocations: 12.83 kB / 294.9 MB, free: 23.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1288, allocations: 21.08 kB / 294.9 MB, free: 23.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.1288, allocations: 27.53 kB / 294.9 MB, free: 23.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1288, allocations: 12.38 kB / 294.9 MB, free: 23.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000238/0.1291, allocations: 269.9 kB / 295.2 MB, free: 23.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1291, allocations: 0 / 295.2 MB, free: 23.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004734/0.1296, allocations: 140.5 kB / 295.3 MB, free: 23.82 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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.0001041/0.1297, allocations: 92.17 kB / 295.4 MB, free: 23.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003414/0.13, allocations: 300.1 kB / 295.7 MB, free: 23.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.041e-05/0.13, allocations: 10.84 kB / 295.7 MB, free: 23.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.981e-05/0.1301, allocations: 99.36 kB / 295.8 MB, free: 23.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.1304, allocations: 83.61 kB / 295.9 MB, free: 23.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.1323, allocations: 1.485 MB / 297.4 MB, free: 22.9 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.1325, allocations: 164.7 kB / 297.5 MB, free: 22.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002051/0.1327, allocations: 92.44 kB / 297.6 MB, free: 22.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.1329, allocations: 169.3 kB / 297.8 MB, free: 22.75 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1329, allocations: 0 / 297.8 MB, free: 22.75 MB / 266.7 MB Notification: Performance of Templates: time 0.0111/0.144, allocations: 5.192 MB / 303 MB, free: 21.73 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.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.821760098915547]