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.0007434/0.0007434, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.001808, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006833/0.0006833, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009173/0.001601, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.044/1.044, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08021/1.124, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.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.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 1.593e-06/1.593e-06, allocations: 0 / 244.7 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.108e-05, allocations: 2.312 kB / 244.7 MB, free: 14.19 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.00278/0.002801, allocations: 2.931 MB / 247.7 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.00386, allocations: 0.7201 MB / 248.4 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.003988, allocations: 11.94 kB / 248.4 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.00411, allocations: 63.38 kB / 248.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.00424, allocations: 95.12 kB / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.004421, allocations: 91.8 kB / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003008/0.004722, allocations: 386.2 kB / 249 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.004896, allocations: 108.5 kB / 249.1 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.005217, allocations: 247.5 kB / 249.4 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.005343, allocations: 115.7 kB / 249.5 MB, free: 9.41 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.005377, allocations: 32 kB / 249.5 MB, free: 9.379 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.367e-05/0.005411, allocations: 32 kB / 249.5 MB, free: 9.348 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.005449, allocations: 55.81 kB / 249.6 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.952e-05/0.005519, allocations: 95.81 kB / 249.7 MB, free: 9.199 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.005769, allocations: 231 kB / 249.9 MB, free: 8.973 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.00578, allocations: 0 / 249.9 MB, free: 8.973 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.005782, allocations: 0 / 249.9 MB, free: 8.973 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.005792, allocations: 0 / 249.9 MB, free: 8.973 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.0006217/0.006414, allocations: 0.5817 MB / 250.5 MB, free: 8.367 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.006443, allocations: 8.031 kB / 250.5 MB, free: 8.359 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.586e-05/0.006509, allocations: 56.89 kB / 250.5 MB, free: 8.305 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.006719, allocations: 177.2 kB / 250.7 MB, free: 8.105 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.006738, allocations: 25.03 kB / 250.7 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.00678, allocations: 36.38 kB / 250.8 MB, free: 8.047 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.007034, allocations: 258.7 kB / 251 MB, free: 7.773 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.007043, allocations: 4.188 kB / 251 MB, free: 7.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.007059, allocations: 8.375 kB / 251 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.007067, allocations: 11.94 kB / 251.1 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.926e-05/0.007157, allocations: 76.48 kB / 251.1 MB, free: 7.676 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007834/0.00794, allocations: 0.685 MB / 251.8 MB, free: 6.949 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.008062, allocations: 94.27 kB / 251.9 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/0.008101, allocations: 36.84 kB / 251.9 MB, free: 6.812 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.008117, allocations: 4 kB / 252 MB, free: 6.809 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.008137, allocations: 34.5 kB / 252 MB, free: 6.766 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.008138, allocations: 0 / 252 MB, free: 6.766 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001685/0.008307, allocations: 120.1 kB / 252.1 MB, free: 6.645 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.008331, allocations: 59.34 kB / 252.2 MB, free: 6.574 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.008432, allocations: 191.7 kB / 252.3 MB, free: 6.375 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.008444, allocations: 25.7 kB / 252.4 MB, free: 6.344 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.008513, allocations: 188.3 kB / 252.6 MB, free: 6.156 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.008554, allocations: 67.42 kB / 252.6 MB, free: 6.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.008601, allocations: 49.69 kB / 252.7 MB, free: 6.035 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.00868, allocations: 334.8 kB / 253 MB, free: 5.699 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.008706, allocations: 16 kB / 253 MB, free: 5.684 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.318e-05/0.00876, allocations: 81.91 kB / 253.1 MB, free: 5.582 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.379e-05/0.008853, allocations: 117.8 kB / 253.2 MB, free: 5.445 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.008856, allocations: 4 kB / 253.2 MB, free: 5.441 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001297/0.008985, allocations: 133.4 kB / 253.3 MB, free: 5.305 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.008998, allocations: 8 kB / 253.4 MB, free: 5.297 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.009002, allocations: 0 / 253.4 MB, free: 5.297 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.009015, allocations: 4 kB / 253.4 MB, free: 5.293 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.009242, allocations: 88.8 kB / 253.4 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.009247, allocations: 4 kB / 253.4 MB, free: 5.203 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.818e-05/0.009305, allocations: 31.77 kB / 253.5 MB, free: 5.172 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.009314, allocations: 4 kB / 253.5 MB, free: 5.168 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 7.213e-05/0.009386, allocations: 125.8 kB / 253.6 MB, free: 5.035 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.009411, allocations: 15.98 kB / 253.6 MB, free: 5.02 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.009563, allocations: 111.4 kB / 253.7 MB, free: 4.906 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.009567, allocations: 4 kB / 253.7 MB, free: 4.902 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.009568, allocations: 0 / 253.7 MB, free: 4.902 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.009571, allocations: 4 kB / 253.7 MB, free: 4.898 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.009721, allocations: 149.7 kB / 253.9 MB, free: 4.734 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.009723, allocations: 0 / 253.9 MB, free: 4.734 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.009896, allocations: 67.89 kB / 253.9 MB, free: 4.668 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.009914, allocations: 19.8 kB / 254 MB, free: 4.648 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.009916, allocations: 0 / 254 MB, free: 4.648 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.009926, allocations: 4 kB / 254 MB, free: 4.645 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.009929, allocations: 7.938 kB / 254 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.00993, allocations: 0 / 254 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.01011, allocations: 239.3 kB / 254.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.01013, allocations: 11.94 kB / 254.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.0102, allocations: 15.94 kB / 254.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.01023, allocations: 11.97 kB / 254.3 MB, free: 4.348 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.01024, allocations: 0 / 254.3 MB, free: 4.348 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.94e-05/0.01028, allocations: 48.81 kB / 254.3 MB, free: 4.297 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01028, allocations: 0 / 254.3 MB, free: 4.297 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001852/0.01046, allocations: 79.78 kB / 254.4 MB, free: 4.219 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.79e-05/0.01056, allocations: 84.41 kB / 254.5 MB, free: 4.125 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.01069, allocations: 99.73 kB / 254.6 MB, free: 4.027 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/0.01071, allocations: 8 kB / 254.6 MB, free: 4.02 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.655e-05/0.01076, allocations: 56.77 kB / 254.6 MB, free: 3.961 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.01104, allocations: 335.9 kB / 254.9 MB, free: 3.562 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.01325, allocations: 0.6385 MB / 255.6 MB, free: 2.898 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.475e-05/0.0133, allocations: 108 kB / 255.7 MB, free: 2.77 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.984e-05/0.01336, allocations: 22.08 kB / 255.7 MB, free: 2.75 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.01346, allocations: 83.36 kB / 255.8 MB, free: 2.668 MB / 250.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01346, allocations: 0 / 255.8 MB, free: 2.668 MB / 250.7 MB Notification: Performance of Templates: time 0.004222/0.01769, allocations: 2.147 MB / 257.9 MB, free: 0.5703 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.602600791491568]