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.001384/0.001384, allocations: 92.69 kB / 20.95 MB, free: 460 kB / 14.72 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.001535/0.001535, allocations: 147.4 kB / 24.24 MB, free: 3.496 MB / 14.72 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.45/1.45, allocations: 173.3 MB / 200.8 MB, free: 12.75 MB / 190.1 MB " [Timeout remaining time 178] 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 4.108e-06/4.108e-06, allocations: 3.984 kB / 267.3 MB, free: 10.18 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.753e-05/4.164e-05, allocations: 5.406 kB / 267.3 MB, free: 10.17 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007431/0.007473, allocations: 4.75 MB / 272.1 MB, free: 5.395 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.003048/0.01052, allocations: 1.399 MB / 273.5 MB, free: 3.992 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003725/0.01089, allocations: 39.69 kB / 273.5 MB, free: 3.953 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004561/0.01135, allocations: 217.8 kB / 273.7 MB, free: 3.738 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004817/0.01183, allocations: 209.8 kB / 273.9 MB, free: 3.531 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007341/0.01257, allocations: 395.3 kB / 274.3 MB, free: 3.145 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.01376, allocations: 1.157 MB / 275.5 MB, free: 1.98 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000533/0.0143, allocations: 312.8 kB / 275.8 MB, free: 1.652 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006949/0.01499, allocations: 0.5885 MB / 276.4 MB, free: 1.062 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003835/0.01538, allocations: 290.9 kB / 276.7 MB, free: 0.7773 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.0155, allocations: 84 kB / 276.8 MB, free: 0.6953 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.0157, allocations: 99.92 kB / 276.8 MB, free: 0.5977 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.01588, allocations: 215 kB / 277.1 MB, free: 396 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000326/0.01621, allocations: 319 kB / 277.4 MB, free: 76 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.01745, allocations: 1.164 MB / 278.5 MB, free: 14.9 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.01745, allocations: 4 kB / 278.5 MB, free: 14.9 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01745, allocations: 0 / 278.5 MB, free: 14.9 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.01746, allocations: 0 / 278.5 MB, free: 14.9 MB / 270.1 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.001923/0.01939, allocations: 1.252 MB / 279.8 MB, free: 13.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.01942, allocations: 12.03 kB / 279.8 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002812/0.01971, allocations: 211.2 kB / 280 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.02073, allocations: 0.6095 MB / 280.6 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.481e-05/0.02081, allocations: 74 kB / 280.7 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.02094, allocations: 99.98 kB / 280.8 MB, free: 12.59 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.0227, allocations: 1.081 MB / 281.9 MB, free: 11.37 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.54e-05/0.02275, allocations: 15.88 kB / 281.9 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-05/0.02283, allocations: 52 kB / 281.9 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.02285, allocations: 24 kB / 282 MB, free: 11.28 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.02404, allocations: 0.55 MB / 282.5 MB, free: 10.73 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005052/0.02909, allocations: 5.151 MB / 287.7 MB, free: 5.305 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005884/0.02968, allocations: 221 kB / 287.9 MB, free: 5.07 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.03001, allocations: 153.7 kB / 288 MB, free: 4.918 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.431e-05/0.03011, allocations: 11.98 kB / 288 MB, free: 4.906 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.03015, allocations: 38.56 kB / 288.1 MB, free: 4.859 MB / 270.1 MB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.03015, allocations: 0 / 288.1 MB, free: 4.859 MB / 270.1 MB Notification: Performance of matching and sorting (n=40): time 0.004052/0.0342, allocations: 1.609 MB / 289.7 MB, free: 3.195 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.03426, allocations: 81.11 kB / 289.8 MB, free: 3.098 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000784/0.03505, allocations: 0.6527 MB / 290.4 MB, free: 2.438 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.03508, allocations: 37.58 kB / 290.5 MB, free: 2.395 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004972/0.03558, allocations: 0.6161 MB / 291.1 MB, free: 1.77 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.03571, allocations: 154.8 kB / 291.2 MB, free: 1.617 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.03589, allocations: 134.5 kB / 291.3 MB, free: 1.48 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.0361, allocations: 386.7 kB / 291.7 MB, free: 1.094 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.03643, allocations: 153.9 kB / 291.9 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/0.03707, allocations: 0.4896 MB / 292.4 MB, free: 304 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.03813, allocations: 0.6978 MB / 293.1 MB, free: 15.44 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.03814, allocations: 4 kB / 293.1 MB, free: 15.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001322/0.03946, allocations: 0.7567 MB / 293.8 MB, free: 14.67 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.03948, allocations: 8.938 kB / 293.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.0395, allocations: 12 kB / 293.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/0.03953, allocations: 20 kB / 293.9 MB, free: 14.63 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.04019, allocations: 191.7 kB / 294.1 MB, free: 14.45 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.557e-05/0.04022, allocations: 23.92 kB / 294.1 MB, free: 14.42 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.04057, allocations: 35.98 kB / 294.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.091e-05/0.04065, allocations: 40 kB / 294.1 MB, free: 14.35 MB / 286.1 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.0003109/0.04096, allocations: 233.4 kB / 294.4 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.0411, allocations: 91.48 kB / 294.5 MB, free: 14.02 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.04123, allocations: 78.55 kB / 294.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.04124, allocations: 4 kB / 294.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.04125, allocations: 0 / 294.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.04125, allocations: 3.984 kB / 294.6 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.04339, allocations: 1.129 MB / 295.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.04339, allocations: 4 kB / 295.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004918/0.04388, allocations: 99.86 kB / 295.8 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.04389, allocations: 4 kB / 295.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.04392, allocations: 15.98 kB / 295.8 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.04393, allocations: 4 kB / 295.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.04393, allocations: 3.984 kB / 295.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.04507, allocations: 0.7168 MB / 296.5 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.04517, allocations: 67.48 kB / 296.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.809e-05/0.04523, allocations: 15.97 kB / 296.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.04554, allocations: 19.98 kB / 296.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.04562, allocations: 35.83 kB / 296.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.04565, allocations: 19.98 kB / 296.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0006786/0.04633, allocations: 419 kB / 297.1 MB, free: 11.31 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.04633, allocations: 0 / 297.1 MB, free: 11.31 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006295/0.04695, allocations: 136 kB / 297.2 MB, free: 11.18 MB / 286.1 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.000142/0.0471, allocations: 111.1 kB / 297.3 MB, free: 11.06 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008009/0.0479, allocations: 418.2 kB / 297.7 MB, free: 10.65 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.0479, allocations: 0 / 297.7 MB, free: 10.65 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.0482, allocations: 151.8 kB / 297.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.04874, allocations: 80.94 kB / 298 MB, free: 10.43 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.05158, allocations: 1.594 MB / 299.6 MB, free: 8.781 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.05202, allocations: 421 kB / 300 MB, free: 8.336 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002618/0.05229, allocations: 94 kB / 300.1 MB, free: 8.242 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.05244, allocations: 72.47 kB / 300.1 MB, free: 8.172 MB / 286.1 MB Notification: Performance of SimCode: time 4.11e-07/0.05244, allocations: 0 / 300.1 MB, free: 8.172 MB / 286.1 MB Notification: Performance of Templates: time 0.01231/0.06475, allocations: 4.685 MB / 304.8 MB, free: 3.57 MB / 286.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4804265685379505]