Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00115/0.00115, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009736/0.0009736, allocations: 162.8 kB / 25.6 MB, free: 8.59 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9674/0.9674, allocations: 177.2 MB / 206.1 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 274.2 MB, free: 4.363 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.02e-05, allocations: 2.312 kB / 274.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005231/0.005261, allocations: 5.037 MB / 279.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002854/0.008115, allocations: 1.494 MB / 280.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005933/0.008708, allocations: 35.75 kB / 280.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000426/0.009134, allocations: 225.7 kB / 281 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005546/0.009689, allocations: 214.9 kB / 281.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008166/0.01051, allocations: 423.2 kB / 281.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.01159, allocations: 1.157 MB / 282.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005218/0.01211, allocations: 316.9 kB / 283.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000811/0.01292, allocations: 0.6001 MB / 283.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.01324, allocations: 302.9 kB / 284 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.664e-05/0.01333, allocations: 84 kB / 284.1 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.01349, allocations: 103.9 kB / 284.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.01361, allocations: 215 kB / 284.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.01382, allocations: 319 kB / 284.7 MB, free: 9.844 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007806/0.0146, allocations: 0.7856 MB / 285.5 MB, free: 9.055 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.01461, allocations: 0 / 285.5 MB, free: 9.055 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01461, allocations: 0 / 285.5 MB, free: 9.055 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.177e-05/0.01464, allocations: 0 / 285.5 MB, free: 9.055 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.001448/0.01609, allocations: 1.379 MB / 286.9 MB, free: 7.637 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.01613, allocations: 8.031 kB / 286.9 MB, free: 7.629 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/0.01646, allocations: 227.1 kB / 287.1 MB, free: 7.406 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000733/0.01719, allocations: 0.6201 MB / 287.7 MB, free: 6.754 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.01724, allocations: 74 kB / 287.8 MB, free: 6.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.06e-05/0.01734, allocations: 96 kB / 287.9 MB, free: 6.586 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009726/0.01831, allocations: 0.995 MB / 288.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.01834, allocations: 7.938 kB / 288.9 MB, free: 5.402 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.323e-05/0.01839, allocations: 48 kB / 288.9 MB, free: 5.355 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.01841, allocations: 28 kB / 289 MB, free: 5.328 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.01887, allocations: 321.2 kB / 289.3 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003718/0.02258, allocations: 6.753 MB / 296 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.0229, allocations: 177.9 kB / 296.2 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.02304, allocations: 103.6 kB / 296.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.974e-05/0.02311, allocations: 23.98 kB / 296.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.02314, allocations: 37.39 kB / 296.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=28): time 3.066e-06/0.02314, allocations: 0 / 296.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.001907/0.02505, allocations: 1.044 MB / 297.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.02509, allocations: 85.09 kB / 297.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.02552, allocations: 0.6549 MB / 298.1 MB, free: 11.69 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.02554, allocations: 37.64 kB / 298.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/0.02588, allocations: 0.6695 MB / 298.8 MB, free: 10.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.271e-05/0.02597, allocations: 154.7 kB / 299 MB, free: 10.81 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.02609, allocations: 140.2 kB / 299.1 MB, free: 10.67 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.02626, allocations: 0.5662 MB / 299.7 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-05/0.02635, allocations: 65.94 kB / 299.8 MB, free: 10.03 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.02666, allocations: 0.5538 MB / 300.3 MB, free: 9.254 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.02715, allocations: 0.6913 MB / 301 MB, free: 8.344 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.02716, allocations: 4 kB / 301 MB, free: 8.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0005837/0.02774, allocations: 0.5793 MB / 301.6 MB, free: 7.754 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.02776, allocations: 8 kB / 301.6 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.02778, allocations: 12.09 kB / 301.6 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.0278, allocations: 20 kB / 301.6 MB, free: 7.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.02815, allocations: 191.7 kB / 301.8 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.02816, allocations: 27.91 kB / 301.8 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.02835, allocations: 31.98 kB / 301.9 MB, free: 7.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.02838, allocations: 36 kB / 301.9 MB, free: 7.434 MB / 282.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.0001742/0.02855, allocations: 212.1 kB / 302.1 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.907e-05/0.02865, allocations: 91.48 kB / 302.2 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.625e-05/0.02873, allocations: 82.62 kB / 302.3 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.02873, allocations: 4 kB / 302.3 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.02873, allocations: 0 / 302.3 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.02874, allocations: 4 kB / 302.3 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.02986, allocations: 0.9983 MB / 303.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02987, allocations: 0 / 303.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.03011, allocations: 100 kB / 303.4 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.03011, allocations: 3.938 kB / 303.4 MB, free: 5.875 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.03013, allocations: 15.98 kB / 303.4 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.03014, allocations: 4 kB / 303.4 MB, free: 5.855 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.03014, allocations: 8 kB / 303.4 MB, free: 5.848 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005059/0.03065, allocations: 0.6255 MB / 304.1 MB, free: 5.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.03071, allocations: 67.47 kB / 304.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.03075, allocations: 11.94 kB / 304.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.0309, allocations: 27.98 kB / 304.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.03097, allocations: 31.89 kB / 304.2 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.03098, allocations: 7.984 kB / 304.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002395/0.03122, allocations: 386.8 kB / 304.6 MB, free: 4.664 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03122, allocations: 0 / 304.6 MB, free: 4.664 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005023/0.03172, allocations: 140 kB / 304.7 MB, free: 4.527 MB / 282.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.0001426/0.03186, allocations: 115.1 kB / 304.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003619/0.03223, allocations: 306.8 kB / 305.1 MB, free: 4.109 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.03223, allocations: 4 kB / 305.1 MB, free: 4.105 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.03233, allocations: 110.8 kB / 305.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.03274, allocations: 67.3 kB / 305.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.03487, allocations: 1.572 MB / 306.9 MB, free: 2.293 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.03499, allocations: 162.4 kB / 307 MB, free: 2.109 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.03517, allocations: 90.02 kB / 307.1 MB, free: 2.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.03537, allocations: 198.1 kB / 307.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of SimCode: time 1.263e-06/0.03537, allocations: 0 / 307.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of Templates: time 0.01005/0.04542, allocations: 5.227 MB / 312.5 MB, free: 12.7 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.8756965091452003]