Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.0008336/0.0008336, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001867, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009656/0.0009656, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001266/0.002232, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9635/0.9635, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08659/1.05, allocations: 52.49 MB / 238.3 MB, free: 4.426 MB / 234.7 MB " [Timeout remaining time 179] 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.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.0.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.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.398e-05, allocations: 6.312 kB / 239.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004455/0.004479, allocations: 2.897 MB / 242.5 MB, free: 252 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.006004, allocations: 0.689 MB / 243.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.006185, allocations: 7.938 kB / 243.2 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.00634, allocations: 67.36 kB / 243.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.006543, allocations: 91.12 kB / 243.3 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.00678, allocations: 91.88 kB / 243.4 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004507/0.00723, allocations: 394.2 kB / 243.8 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.007449, allocations: 108.4 kB / 243.9 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.007807, allocations: 239.4 kB / 244.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.007992, allocations: 115.7 kB / 244.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.457e-05/0.008046, allocations: 32 kB / 244.3 MB, free: 14.42 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.818e-05/0.008094, allocations: 32 kB / 244.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.5e-05/0.008149, allocations: 51.81 kB / 244.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.008266, allocations: 103.8 kB / 244.4 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.008583, allocations: 231.1 kB / 244.7 MB, free: 14.01 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.497e-05/0.008598, allocations: 0 / 244.7 MB, free: 14.01 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.008599, allocations: 0 / 244.7 MB, free: 14.01 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.008618, allocations: 0 / 244.7 MB, free: 14.01 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008803/0.009498, allocations: 0.5855 MB / 245.3 MB, free: 13.4 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.009536, allocations: 8.031 kB / 245.3 MB, free: 13.39 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.161e-05/0.009628, allocations: 56.91 kB / 245.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.00992, allocations: 173.3 kB / 245.5 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.009945, allocations: 25.03 kB / 245.5 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/0.01, allocations: 40.34 kB / 245.6 MB, free: 13.08 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.01036, allocations: 254.7 kB / 245.8 MB, free: 12.81 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.01037, allocations: 4.172 kB / 245.8 MB, free: 12.81 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.01039, allocations: 12.38 kB / 245.8 MB, free: 12.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.01041, allocations: 11.94 kB / 245.8 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.01056, allocations: 72.55 kB / 245.9 MB, free: 12.71 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.01168, allocations: 0.6772 MB / 246.6 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.01186, allocations: 101.8 kB / 246.7 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.662e-05/0.01192, allocations: 44.77 kB / 246.7 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.01194, allocations: 4 kB / 246.7 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.01197, allocations: 38.56 kB / 246.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.774e-06/0.01197, allocations: 0 / 246.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002253/0.0122, allocations: 116.2 kB / 246.9 MB, free: 11.68 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.01223, allocations: 55.34 kB / 246.9 MB, free: 11.61 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.01237, allocations: 182.4 kB / 247.1 MB, free: 11.42 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.01239, allocations: 29.7 kB / 247.1 MB, free: 11.38 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.702e-05/0.01249, allocations: 184.3 kB / 247.3 MB, free: 11.2 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.706e-05/0.01254, allocations: 79.36 kB / 247.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.01262, allocations: 49.67 kB / 247.4 MB, free: 11.07 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.01272, allocations: 326.8 kB / 247.8 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-05/0.01277, allocations: 19.98 kB / 247.8 MB, free: 10.72 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.068e-05/0.01285, allocations: 73.97 kB / 247.9 MB, free: 10.62 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.01299, allocations: 113.8 kB / 248 MB, free: 10.49 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.013, allocations: 4 kB / 248 MB, free: 10.49 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002029/0.0132, allocations: 137.4 kB / 248.1 MB, free: 10.35 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.01322, allocations: 8 kB / 248.1 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.01322, allocations: 0 / 248.1 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.01323, allocations: 4 kB / 248.1 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.01356, allocations: 82.83 kB / 248.2 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.01357, allocations: 7.938 kB / 248.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.815e-05/0.01366, allocations: 19.89 kB / 248.2 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.01368, allocations: 4.125 kB / 248.2 MB, free: 10.23 MB / 250.7 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 9.284e-05/0.01377, allocations: 129.8 kB / 248.4 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.01381, allocations: 19.92 kB / 248.4 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.014, allocations: 115.3 kB / 248.5 MB, free: 9.949 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.014, allocations: 8.031 kB / 248.5 MB, free: 9.941 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.014, allocations: 0 / 248.5 MB, free: 9.941 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01401, allocations: 3.984 kB / 248.5 MB, free: 9.938 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.01423, allocations: 145.7 kB / 248.6 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01423, allocations: 0 / 248.6 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.0145, allocations: 67.89 kB / 248.7 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.01452, allocations: 23.78 kB / 248.7 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.01453, allocations: 0 / 248.7 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.01455, allocations: 11.98 kB / 248.7 MB, free: 9.676 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01455, allocations: 0 / 248.7 MB, free: 9.676 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01455, allocations: 0 / 248.7 MB, free: 9.676 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.0148, allocations: 231.3 kB / 249 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.01483, allocations: 7.938 kB / 249 MB, free: 9.426 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.01495, allocations: 15.98 kB / 249 MB, free: 9.41 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.01498, allocations: 15.97 kB / 249 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.015, allocations: 4 kB / 249 MB, free: 9.391 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.897e-05/0.01506, allocations: 49.86 kB / 249.1 MB, free: 9.34 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01506, allocations: 3.938 kB / 249.1 MB, free: 9.336 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002945/0.01535, allocations: 79.78 kB / 249.1 MB, free: 9.258 MB / 250.7 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 9.556e-05/0.01545, allocations: 80.42 kB / 249.2 MB, free: 9.172 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.01562, allocations: 99.92 kB / 249.3 MB, free: 9.074 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.01563, allocations: 4.25 kB / 249.3 MB, free: 9.07 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.583e-05/0.0157, allocations: 56.77 kB / 249.4 MB, free: 9.012 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.01595, allocations: 39.97 kB / 249.4 MB, free: 8.973 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.01968, allocations: 0.6341 MB / 250.1 MB, free: 8.309 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.837e-05/0.01976, allocations: 96.12 kB / 250.1 MB, free: 8.191 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.221e-05/0.01985, allocations: 21.95 kB / 250.2 MB, free: 8.168 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.01999, allocations: 87.34 kB / 250.3 MB, free: 8.082 MB / 250.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01999, allocations: 0 / 250.3 MB, free: 8.082 MB / 250.7 MB Notification: Performance of Templates: time 0.005839/0.02583, allocations: 2.155 MB / 252.4 MB, free: 5.965 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.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.519622378051281]