Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009981/0.0009981, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009975/0.0009975, allocations: 164.4 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9699/0.9699, allocations: 177 MB / 205.2 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 273.5 MB, free: 1.133 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.504e-05, allocations: 6.312 kB / 273.5 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.004688/0.004713, allocations: 5.086 MB / 278.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.006623, allocations: 1.565 MB / 280.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002362/0.006859, allocations: 35.69 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.007172, allocations: 217.7 kB / 280.4 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003362/0.007508, allocations: 221.7 kB / 280.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.007972, allocations: 423.2 kB / 281 MB, free: 9.559 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007007/0.008672, allocations: 1.145 MB / 282.1 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.009018, allocations: 328.9 kB / 282.5 MB, free: 8.055 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004538/0.009472, allocations: 0.6041 MB / 283.1 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.00972, allocations: 298.9 kB / 283.3 MB, free: 7.156 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.77e-05/0.009798, allocations: 80 kB / 283.4 MB, free: 7.078 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.009937, allocations: 107.9 kB / 283.5 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.807e-05/0.01004, allocations: 215 kB / 283.7 MB, free: 6.762 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.01021, allocations: 327 kB / 284.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005347/0.01075, allocations: 0.7817 MB / 284.8 MB, free: 5.656 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.01075, allocations: 0 / 284.8 MB, free: 5.656 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01075, allocations: 0 / 284.8 MB, free: 5.656 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.01076, allocations: 0 / 284.8 MB, free: 5.656 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.0009899/0.01175, allocations: 1.246 MB / 286.1 MB, free: 4.383 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.01179, allocations: 15.98 kB / 286.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.012, allocations: 179.8 kB / 286.3 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.01254, allocations: 0.5315 MB / 286.8 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.01258, allocations: 81.94 kB / 286.9 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.994e-05/0.01265, allocations: 100 kB / 287 MB, free: 3.453 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007044/0.01335, allocations: 0.9135 MB / 287.9 MB, free: 2.402 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.01338, allocations: 11.89 kB / 287.9 MB, free: 2.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.01341, allocations: 44 kB / 288 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.01343, allocations: 28 kB / 288 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003432/0.01377, allocations: 305.3 kB / 288.3 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1111/0.1249, allocations: 4.782 MB / 293.1 MB, free: 22.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.1252, allocations: 155.9 kB / 293.2 MB, free: 22.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.1253, allocations: 88.62 kB / 293.3 MB, free: 22.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.744e-05/0.1254, allocations: 11.59 kB / 293.3 MB, free: 22.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.1254, allocations: 40.23 kB / 293.4 MB, free: 22.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.884e-06/0.1254, allocations: 1.125 kB / 293.4 MB, free: 22.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.00198/0.1274, allocations: 1.087 MB / 294.4 MB, free: 21.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.1274, allocations: 81.42 kB / 294.5 MB, free: 21.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/0.1278, allocations: 0.6071 MB / 295.1 MB, free: 21.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1279, allocations: 34.17 kB / 295.2 MB, free: 21.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.128, allocations: 0.5265 MB / 295.7 MB, free: 21.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.799e-05/0.1281, allocations: 160.5 kB / 295.8 MB, free: 21.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.1282, allocations: 134.5 kB / 296 MB, free: 21.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1283, allocations: 396.5 kB / 296.4 MB, free: 20.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.267e-05/0.1284, allocations: 58.31 kB / 296.4 MB, free: 20.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.1286, allocations: 415.2 kB / 296.8 MB, free: 20.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.129, allocations: 0.5536 MB / 297.4 MB, free: 19.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.129, allocations: 3.656 kB / 297.4 MB, free: 19.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004975/0.1295, allocations: 489.6 kB / 297.9 MB, free: 19.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1295, allocations: 10.58 kB / 297.9 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.1295, allocations: 11.72 kB / 297.9 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.1295, allocations: 16.69 kB / 297.9 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.1299, allocations: 219.9 kB / 298.1 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.13, allocations: 23.94 kB / 298.1 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.1301, allocations: 29.81 kB / 298.2 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.1302, allocations: 38.34 kB / 298.2 MB, free: 19.82 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.0001245/0.1303, allocations: 168.2 kB / 298.4 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-05/0.1304, allocations: 56.7 kB / 298.4 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.58e-05/0.1304, allocations: 73.92 kB / 298.5 MB, free: 19.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.1305, allocations: 8.469 kB / 298.5 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1305, allocations: 1.188 kB / 298.5 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1305, allocations: 1.922 kB / 298.5 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008807/0.1313, allocations: 0.7936 MB / 299.3 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1313, allocations: 1.312 kB / 299.3 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.1316, allocations: 116.2 kB / 299.4 MB, free: 19.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1316, allocations: 3.156 kB / 299.4 MB, free: 19.31 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1316, allocations: 14.64 kB / 299.4 MB, free: 19.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.1316, allocations: 3.859 kB / 299.4 MB, free: 19.31 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1316, allocations: 1.438 kB / 299.4 MB, free: 19.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.132, allocations: 459.8 kB / 299.9 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.132, allocations: 68.47 kB / 300 MB, free: 19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.1321, allocations: 11.17 kB / 300 MB, free: 19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.1322, allocations: 23.95 kB / 300 MB, free: 19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.1322, allocations: 37.38 kB / 300 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.1323, allocations: 8.094 kB / 300 MB, free: 18.99 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002098/0.1325, allocations: 275.4 kB / 300.3 MB, free: 18.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1325, allocations: 0 / 300.3 MB, free: 18.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004126/0.1329, allocations: 136 kB / 300.4 MB, free: 18.96 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 8.803e-05/0.133, allocations: 92.09 kB / 300.5 MB, free: 18.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002893/0.1333, allocations: 285.4 kB / 300.8 MB, free: 18.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.781e-05/0.1333, allocations: 10.78 kB / 300.8 MB, free: 18.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.097e-05/0.1334, allocations: 103.9 kB / 300.9 MB, free: 18.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.1337, allocations: 79.69 kB / 301 MB, free: 18.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.1354, allocations: 1.493 MB / 302.5 MB, free: 17.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.1355, allocations: 174 kB / 302.7 MB, free: 17.9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.1356, allocations: 89.92 kB / 302.7 MB, free: 17.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.1358, allocations: 163.2 kB / 302.9 MB, free: 17.84 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1358, allocations: 0 / 302.9 MB, free: 17.84 MB / 266.7 MB Notification: Performance of Templates: time 0.009439/0.1453, allocations: 5.209 MB / 308.1 MB, free: 16.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.6848264443688095]