Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.001986/0.001986, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 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.002602/0.002602, allocations: 216.7 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.564/1.564, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 47.92 kB / 378.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.259, allocations: 53.37 MB / 431.6 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004486/0.2634, allocations: 2.708 MB / 434.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.2648, allocations: 0.6739 MB / 435 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.265, allocations: 11.94 kB / 435 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.2652, allocations: 59.42 kB / 435 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.2654, allocations: 87.19 kB / 435.1 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.2656, allocations: 91.83 kB / 435.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004275/0.2661, allocations: 378.4 kB / 435.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002729/0.2663, allocations: 109.4 kB / 435.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.2666, allocations: 147.5 kB / 435.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.2668, allocations: 143.2 kB / 436 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.2669, allocations: 35.94 kB / 436 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.999e-05/0.267, allocations: 32 kB / 436 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.267, allocations: 67.77 kB / 436.1 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.2672, allocations: 139.4 kB / 436.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.2676, allocations: 385 kB / 436.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2676, allocations: 3.938 kB / 436.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2676, allocations: 0 / 436.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.2676, allocations: 0 / 436.6 MB, free: 1.633 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009803/0.2686, allocations: 0.5404 MB / 437.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.2686, allocations: 12.03 kB / 437.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.024e-05/0.2687, allocations: 40.7 kB / 437.2 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.2691, allocations: 206.7 kB / 437.4 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.2691, allocations: 28.97 kB / 437.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-05/0.2692, allocations: 32.38 kB / 437.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005894/0.2698, allocations: 329.8 kB / 437.8 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.2698, allocations: 0 / 437.8 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.2698, allocations: 12 kB / 437.8 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.2698, allocations: 8 kB / 437.8 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.2703, allocations: 206.5 kB / 438 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.2718, allocations: 0.8087 MB / 438.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.2721, allocations: 154.6 kB / 439 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.2723, allocations: 72.81 kB / 439.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.2723, allocations: 3.938 kB / 439.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.2724, allocations: 34.56 kB / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.2724, allocations: 0 / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005709/0.2729, allocations: 213.7 kB / 439.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.273, allocations: 59.41 kB / 439.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.2732, allocations: 184.2 kB / 439.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.2733, allocations: 33.7 kB / 439.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.2734, allocations: 200.2 kB / 439.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.767e-05/0.2735, allocations: 63.44 kB / 439.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.2735, allocations: 45.7 kB / 439.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2737, allocations: 330.8 kB / 440.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.2739, allocations: 63.97 kB / 440.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.2741, allocations: 114 kB / 440.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.2745, allocations: 201.6 kB / 440.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2745, allocations: 0 / 440.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004805/0.275, allocations: 249.3 kB / 440.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.275, allocations: 4 kB / 440.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.275, allocations: 4 kB / 440.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.275, allocations: 3.984 kB / 440.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.2753, allocations: 59.91 kB / 440.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.2753, allocations: 7.938 kB / 440.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.2754, allocations: 23.88 kB / 440.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.2755, allocations: 20.12 kB / 440.9 MB, free: 13.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * 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.000172/0.2756, allocations: 137.8 kB / 441.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.2757, allocations: 19.84 kB / 441.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004192/0.2761, allocations: 191.3 kB / 441.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.2761, allocations: 4 kB / 441.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2761, allocations: 0 / 441.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2761, allocations: 0 / 441.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.2764, allocations: 213.2 kB / 441.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2764, allocations: 4 kB / 441.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.2767, allocations: 55.91 kB / 441.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2767, allocations: 3.938 kB / 441.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.2767, allocations: 4 kB / 441.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2767, allocations: 0 / 441.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2767, allocations: 0 / 441.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005906/0.2773, allocations: 346 kB / 441.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.2773, allocations: 27.72 kB / 441.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.2774, allocations: 12.06 kB / 441.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.2776, allocations: 11.98 kB / 441.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.2776, allocations: 11.98 kB / 441.9 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.2776, allocations: 4 kB / 442 MB, free: 11.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.2777, allocations: 143.4 kB / 442.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2777, allocations: 0 / 442.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003516/0.2781, allocations: 79.72 kB / 442.2 MB, free: 11.77 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.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 (19): * Single equations (assignments): 19 * 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.000119/0.2782, allocations: 103.2 kB / 442.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004032/0.2786, allocations: 164.1 kB / 442.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2786, allocations: 0 / 442.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.2788, allocations: 71.91 kB / 442.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.2791, allocations: 23.92 kB / 442.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.2805, allocations: 0.8276 MB / 443.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.2807, allocations: 155.4 kB / 443.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.942e-05/0.2808, allocations: 21.62 kB / 443.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.2808, allocations: 19.44 kB / 443.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2808, allocations: 0 / 443.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Templates: time 0.006207/0.287, allocations: 2.103 MB / 445.6 MB, free: 8.27 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.752365209162235]