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.001387/0.001387, allocations: 85.75 kB / 21.43 MB, free: 296 kB / 14.72 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.001435/0.001435, allocations: 164.3 kB / 24.7 MB, free: 3.547 MB / 14.72 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 1.365/1.365, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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 2.354e-06/2.354e-06, allocations: 0 / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.457e-05, allocations: 2.281 kB / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006549/0.006583, allocations: 4.709 MB / 303.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003441/0.01002, allocations: 1.442 MB / 305.1 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006579/0.01068, allocations: 39.69 kB / 305.2 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000528/0.01121, allocations: 221.7 kB / 305.4 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006341/0.01184, allocations: 205.9 kB / 305.6 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008892/0.01273, allocations: 403.2 kB / 306 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.01412, allocations: 1.157 MB / 307.1 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006572/0.01478, allocations: 308.9 kB / 307.4 MB, free: 184 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009251/0.0157, allocations: 0.5846 MB / 308 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004219/0.01612, allocations: 290.9 kB / 308.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.01626, allocations: 84 kB / 308.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.01648, allocations: 107.8 kB / 308.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.01668, allocations: 215 kB / 308.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003492/0.01703, allocations: 319 kB / 309 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.01834, allocations: 1.156 MB / 310.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.01835, allocations: 3.984 kB / 310.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.01835, allocations: 0 / 310.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.01837, allocations: 3.938 kB / 310.2 MB, free: 13.43 MB / 302.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.002024/0.02039, allocations: 1.256 MB / 311.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.02044, allocations: 11.98 kB / 311.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.02065, allocations: 131.2 kB / 311.6 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.02172, allocations: 0.5704 MB / 312.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.235e-05/0.0218, allocations: 74 kB / 312.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.02194, allocations: 104 kB / 312.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.02382, allocations: 1.088 MB / 313.4 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.02385, allocations: 7.938 kB / 313.4 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.02393, allocations: 44 kB / 313.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.02396, allocations: 35.94 kB / 313.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.02518, allocations: 0.5539 MB / 314 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005198/0.03038, allocations: 5.116 MB / 319.2 MB, free: 3.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.031, allocations: 228.9 kB / 319.4 MB, free: 3.738 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.03133, allocations: 145.7 kB / 319.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.03143, allocations: 11.98 kB / 319.5 MB, free: 3.578 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.03147, allocations: 34.56 kB / 319.6 MB, free: 3.535 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 2.254e-06/0.03147, allocations: 0 / 319.6 MB, free: 3.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004117/0.03558, allocations: 1.594 MB / 321.2 MB, free: 1.879 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.03565, allocations: 81.11 kB / 321.2 MB, free: 1.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000785/0.03644, allocations: 0.6526 MB / 321.9 MB, free: 1.121 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.03647, allocations: 37.7 kB / 321.9 MB, free: 1.078 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004717/0.03694, allocations: 0.6123 MB / 322.5 MB, free: 468 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.03708, allocations: 154.8 kB / 322.7 MB, free: 312 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.03726, allocations: 134.6 kB / 322.8 MB, free: 172 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.16/0.1972, allocations: 386.5 kB / 323.2 MB, free: 33.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004603/0.1977, allocations: 147 kB / 323.3 MB, free: 33.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004779/0.1982, allocations: 498 kB / 323.8 MB, free: 33.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007236/0.1989, allocations: 0.696 MB / 324.5 MB, free: 32.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.1989, allocations: 3.719 kB / 324.5 MB, free: 32.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001105/0.2, allocations: 0.7173 MB / 325.2 MB, free: 32.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.2, allocations: 13.34 kB / 325.3 MB, free: 32.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.2001, allocations: 12.69 kB / 325.3 MB, free: 32.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/0.2001, allocations: 16.94 kB / 325.3 MB, free: 32.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/0.2007, allocations: 193.4 kB / 325.5 MB, free: 32.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.63e-05/0.2007, allocations: 27.75 kB / 325.5 MB, free: 32.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.2011, allocations: 35.34 kB / 325.5 MB, free: 32.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-05/0.2011, allocations: 40.67 kB / 325.6 MB, free: 32.69 MB / 302.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.000275/0.2014, allocations: 230.4 kB / 325.8 MB, free: 32.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.2015, allocations: 79.44 kB / 325.9 MB, free: 32.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.2016, allocations: 77.69 kB / 326 MB, free: 32.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2016, allocations: 4.531 kB / 326 MB, free: 32.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.2017, allocations: 6.922 kB / 326 MB, free: 32.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2017, allocations: 4.438 kB / 326 MB, free: 32.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.2035, allocations: 1.117 MB / 327.1 MB, free: 31.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.2035, allocations: 5.5 kB / 327.1 MB, free: 31.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005028/0.204, allocations: 106.3 kB / 327.2 MB, free: 31.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.204, allocations: 7.406 kB / 327.2 MB, free: 31.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.204, allocations: 10.25 kB / 327.2 MB, free: 31.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.204, allocations: 11.27 kB / 327.2 MB, free: 31.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.204, allocations: 2.75 kB / 327.2 MB, free: 31.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009298/0.205, allocations: 0.6913 MB / 327.9 MB, free: 31.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.706e-05/0.2051, allocations: 68.81 kB / 328 MB, free: 31.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.199e-05/0.2051, allocations: 12.47 kB / 328 MB, free: 31.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.2054, allocations: 29.83 kB / 328 MB, free: 31.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.2055, allocations: 30.11 kB / 328.1 MB, free: 31.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.2055, allocations: 11.11 kB / 328.1 MB, free: 31.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004795/0.206, allocations: 417.8 kB / 328.5 MB, free: 31.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.206, allocations: 0 / 328.5 MB, free: 31.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006987/0.2067, allocations: 141 kB / 328.6 MB, free: 31.21 MB / 302.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.0001394/0.2068, allocations: 109.2 kB / 328.7 MB, free: 31.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008362/0.2077, allocations: 419.1 kB / 329.1 MB, free: 30.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2077, allocations: 1.281 kB / 329.1 MB, free: 30.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.2079, allocations: 147.8 kB / 329.3 MB, free: 30.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.2085, allocations: 70.3 kB / 329.3 MB, free: 30.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/0.2114, allocations: 1.575 MB / 330.9 MB, free: 29.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006061/0.212, allocations: 414.2 kB / 331.3 MB, free: 29.87 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003155/0.2123, allocations: 96.72 kB / 331.4 MB, free: 29.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.2125, allocations: 65.22 kB / 331.5 MB, free: 29.84 MB / 302.1 MB Notification: Performance of SimCode: time 1.353e-06/0.2125, allocations: 1.344 kB / 331.5 MB, free: 29.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01313/0.2257, allocations: 4.642 MB / 336.1 MB, free: 28.91 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.445053655654192]