Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 168.1 kB / 25.7 MB, free: 8.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8021/0.8021, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.41e-05, allocations: 6.25 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.004624/0.004638, allocations: 4.99 MB / 256.5 MB, free: 2.227 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.006581, allocations: 1.52 MB / 258.1 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.00684, allocations: 35.69 kB / 258.1 MB, free: 0.668 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.007121, allocations: 209.8 kB / 258.3 MB, free: 472 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.007447, allocations: 221.6 kB / 258.5 MB, free: 248 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.00796, allocations: 407.2 kB / 258.9 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007548/0.008715, allocations: 1.141 MB / 260.1 MB, free: 14.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.009055, allocations: 336.8 kB / 260.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004652/0.00952, allocations: 0.5923 MB / 261 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.009755, allocations: 298.9 kB / 261.3 MB, free: 13.45 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.257e-05/0.009828, allocations: 84 kB / 261.3 MB, free: 13.37 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.009932, allocations: 95.94 kB / 261.4 MB, free: 13.28 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.01004, allocations: 219 kB / 261.7 MB, free: 13.06 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.01024, allocations: 323 kB / 262 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005442/0.01078, allocations: 0.7739 MB / 262.7 MB, free: 11.97 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.01078, allocations: 0 / 262.7 MB, free: 11.97 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01078, allocations: 0 / 262.7 MB, free: 11.97 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.01079, allocations: 4 kB / 262.7 MB, free: 11.96 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.0009577/0.01175, allocations: 1.242 MB / 264 MB, free: 10.7 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.732e-05/0.01178, allocations: 11.98 kB / 264 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.0119, allocations: 163.9 kB / 264.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005369/0.01244, allocations: 0.5432 MB / 264.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.01248, allocations: 70 kB / 264.8 MB, free: 9.883 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.771e-05/0.01255, allocations: 104 kB / 264.9 MB, free: 9.781 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007164/0.01327, allocations: 0.9173 MB / 265.8 MB, free: 8.727 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.01329, allocations: 7.938 kB / 265.8 MB, free: 8.719 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.01333, allocations: 48 kB / 265.8 MB, free: 8.672 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.01334, allocations: 24 kB / 265.9 MB, free: 8.648 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.01369, allocations: 305.3 kB / 266.2 MB, free: 8.348 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/0.01666, allocations: 4.769 MB / 270.9 MB, free: 3.324 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.01697, allocations: 157 kB / 271.1 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.0171, allocations: 93.94 kB / 271.2 MB, free: 3.055 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.177e-05/0.01715, allocations: 16.25 kB / 271.2 MB, free: 3.039 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.01718, allocations: 42.44 kB / 271.2 MB, free: 2.988 MB / 250.7 MB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.01718, allocations: 0 / 271.2 MB, free: 2.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.002156/0.01934, allocations: 1.092 MB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.01937, allocations: 89.09 kB / 272.4 MB, free: 1.734 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.01981, allocations: 0.5971 MB / 273 MB, free: 1.125 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.01983, allocations: 37.64 kB / 273.1 MB, free: 1.082 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.0201, allocations: 0.5275 MB / 273.6 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.689e-05/0.02019, allocations: 158.7 kB / 273.7 MB, free: 400 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.02032, allocations: 130.5 kB / 273.9 MB, free: 264 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.02045, allocations: 398.6 kB / 274.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.288e-05/0.02054, allocations: 65.95 kB / 274.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.0208, allocations: 409.3 kB / 274.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004469/0.02125, allocations: 0.5629 MB / 275.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.02125, allocations: 4 kB / 275.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0005323/0.02178, allocations: 476.3 kB / 275.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.0218, allocations: 12 kB / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.02181, allocations: 12 kB / 275.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.02184, allocations: 16 kB / 275.8 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.02226, allocations: 196.2 kB / 276 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.02227, allocations: 23.92 kB / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.02251, allocations: 28 kB / 276 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.02255, allocations: 36 kB / 276.1 MB, free: 13.72 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.0001467/0.0227, allocations: 165.4 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.939e-05/0.02279, allocations: 55.94 kB / 276.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.041e-05/0.02287, allocations: 78.55 kB / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.02287, allocations: 4 kB / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.02288, allocations: 0 / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.02288, allocations: 0 / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009734/0.02385, allocations: 0.7862 MB / 277.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.02386, allocations: 4 kB / 277.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.02413, allocations: 95.88 kB / 277.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.02413, allocations: 4 kB / 277.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.02415, allocations: 11.98 kB / 277.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.02416, allocations: 8.094 kB / 277.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.02416, allocations: 4 kB / 277.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.02456, allocations: 454.7 kB / 277.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.02462, allocations: 67.47 kB / 277.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.02466, allocations: 15.94 kB / 277.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.02486, allocations: 19.98 kB / 277.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.0249, allocations: 31.89 kB / 277.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.02492, allocations: 8 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000219/0.02514, allocations: 276.5 kB / 278.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02514, allocations: 0 / 278.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005176/0.02566, allocations: 140 kB / 278.3 MB, free: 11.43 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 9.049e-05/0.02575, allocations: 88.3 kB / 278.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003251/0.02607, allocations: 300.3 kB / 278.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/0.02609, allocations: 8.5 kB / 278.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.02619, allocations: 94.44 kB / 278.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.02658, allocations: 75.3 kB / 278.8 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.02849, allocations: 1.495 MB / 280.3 MB, free: 9.316 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.02862, allocations: 166.1 kB / 280.5 MB, free: 9.133 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002007/0.02882, allocations: 98 kB / 280.6 MB, free: 9.035 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.02904, allocations: 163.3 kB / 280.7 MB, free: 8.875 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02904, allocations: 0 / 280.7 MB, free: 8.875 MB / 266.7 MB Notification: Performance of Templates: time 0.01003/0.03906, allocations: 5.016 MB / 285.7 MB, free: 3.895 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.545688583049923]