Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009054/0.0009054, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002231, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009498/0.0009498, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001123/0.002073, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.932/0.932, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08529/1.017, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.476e-05, allocations: 6.25 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.003716/0.003731, allocations: 2.916 MB / 248 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008463/0.004578, allocations: 0.7318 MB / 248.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.319e-05/0.004671, allocations: 7.938 kB / 248.7 MB, free: 9.945 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.624e-05/0.004767, allocations: 63.36 kB / 248.8 MB, free: 9.883 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.00487, allocations: 95.12 kB / 248.8 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.004996, allocations: 95.8 kB / 248.9 MB, free: 9.695 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.005241, allocations: 382.2 kB / 249.3 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.005377, allocations: 112.4 kB / 249.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.005607, allocations: 243.5 kB / 249.7 MB, free: 8.973 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.005713, allocations: 111.7 kB / 249.8 MB, free: 8.863 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.00574, allocations: 32 kB / 249.8 MB, free: 8.832 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.882e-05/0.005769, allocations: 32 kB / 249.8 MB, free: 8.801 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.361e-05/0.005802, allocations: 55.81 kB / 249.9 MB, free: 8.746 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.893e-05/0.005871, allocations: 95.81 kB / 250 MB, free: 8.652 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.006068, allocations: 235.1 kB / 250.2 MB, free: 8.422 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.00608, allocations: 3.938 kB / 250.2 MB, free: 8.418 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006081, allocations: 0 / 250.2 MB, free: 8.418 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.006096, allocations: 0 / 250.2 MB, free: 8.418 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.0005422/0.006638, allocations: 0.5817 MB / 250.8 MB, free: 7.812 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.374e-05/0.006662, allocations: 8.625 kB / 250.8 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.006712, allocations: 44.91 kB / 250.9 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.00688, allocations: 185.2 kB / 251 MB, free: 7.555 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.006896, allocations: 21.03 kB / 251.1 MB, free: 7.535 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.006928, allocations: 32.38 kB / 251.1 MB, free: 7.504 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.007147, allocations: 258.7 kB / 251.3 MB, free: 7.23 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.007156, allocations: 4.188 kB / 251.3 MB, free: 7.227 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.007173, allocations: 16.38 kB / 251.4 MB, free: 7.211 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.007182, allocations: 11.94 kB / 251.4 MB, free: 7.199 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.836e-05/0.00727, allocations: 72.55 kB / 251.4 MB, free: 7.125 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006511/0.007921, allocations: 0.6772 MB / 252.1 MB, free: 6.41 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.00806, allocations: 102.4 kB / 252.2 MB, free: 6.301 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.008094, allocations: 32.84 kB / 252.2 MB, free: 6.266 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.008106, allocations: 4 kB / 252.3 MB, free: 6.262 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.008124, allocations: 34.56 kB / 252.3 MB, free: 6.219 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 9.72e-07/0.008125, allocations: 3.938 kB / 252.3 MB, free: 6.215 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001377/0.008263, allocations: 109.8 kB / 252.4 MB, free: 6.102 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.008285, allocations: 63.33 kB / 252.5 MB, free: 6.027 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.977e-05/0.008375, allocations: 191.1 kB / 252.6 MB, free: 5.828 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.008386, allocations: 29.7 kB / 252.7 MB, free: 5.793 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.008443, allocations: 180.4 kB / 252.9 MB, free: 5.613 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.008482, allocations: 75.39 kB / 252.9 MB, free: 5.539 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.008524, allocations: 45.69 kB / 253 MB, free: 5.488 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.596e-05/0.00859, allocations: 326.8 kB / 253.3 MB, free: 5.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-05/0.008613, allocations: 19.98 kB / 253.3 MB, free: 5.141 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.903e-05/0.008662, allocations: 81.95 kB / 253.4 MB, free: 5.039 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.385e-05/0.008746, allocations: 109.8 kB / 253.5 MB, free: 4.91 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.008749, allocations: 4 kB / 253.5 MB, free: 4.906 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000119/0.008868, allocations: 145.4 kB / 253.6 MB, free: 4.758 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.008877, allocations: 4 kB / 253.6 MB, free: 4.754 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.008882, allocations: 7.984 kB / 253.7 MB, free: 4.746 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.008889, allocations: 0 / 253.7 MB, free: 4.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.009102, allocations: 83.95 kB / 253.7 MB, free: 4.664 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.009107, allocations: 7.984 kB / 253.7 MB, free: 4.656 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/0.009158, allocations: 27.72 kB / 253.8 MB, free: 4.629 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.009167, allocations: 12 kB / 253.8 MB, free: 4.617 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 5.731e-05/0.009225, allocations: 113.8 kB / 253.9 MB, free: 4.496 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.009247, allocations: 19.97 kB / 253.9 MB, free: 4.477 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.009353, allocations: 114.6 kB / 254 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.009355, allocations: 0 / 254 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.009357, allocations: 0 / 254 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.009362, allocations: 11.98 kB / 254 MB, free: 4.352 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.009494, allocations: 149.7 kB / 254.2 MB, free: 4.188 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.009495, allocations: 0 / 254.2 MB, free: 4.188 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.009643, allocations: 67.17 kB / 254.2 MB, free: 4.125 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.009661, allocations: 23.8 kB / 254.3 MB, free: 4.102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.009662, allocations: 0 / 254.3 MB, free: 4.102 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.009672, allocations: 7.984 kB / 254.3 MB, free: 4.094 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.009672, allocations: 0 / 254.3 MB, free: 4.094 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.009673, allocations: 3.938 kB / 254.3 MB, free: 4.09 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.009824, allocations: 235.4 kB / 254.5 MB, free: 3.844 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.00984, allocations: 7.938 kB / 254.5 MB, free: 3.836 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.009906, allocations: 11.98 kB / 254.5 MB, free: 3.824 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.009932, allocations: 15.97 kB / 254.5 MB, free: 3.809 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.009937, allocations: 4 kB / 254.6 MB, free: 3.805 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.355e-05/0.009971, allocations: 53.98 kB / 254.6 MB, free: 3.75 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009971, allocations: 0 / 254.6 MB, free: 3.75 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001544/0.01012, allocations: 71.78 kB / 254.7 MB, free: 3.68 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 6.508e-05/0.01019, allocations: 88.36 kB / 254.8 MB, free: 3.582 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.0103, allocations: 96.64 kB / 254.9 MB, free: 3.484 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.0103, allocations: 0 / 254.9 MB, free: 3.484 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.034e-05/0.01034, allocations: 52.03 kB / 254.9 MB, free: 3.434 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.0105, allocations: 48.05 kB / 255 MB, free: 3.387 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.0126, allocations: 0.6256 MB / 255.6 MB, free: 2.734 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.824e-05/0.01264, allocations: 96.19 kB / 255.7 MB, free: 2.617 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.004e-05/0.01269, allocations: 22.08 kB / 255.7 MB, free: 2.598 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.457e-05/0.01278, allocations: 91.34 kB / 255.8 MB, free: 2.508 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01278, allocations: 3.938 kB / 255.8 MB, free: 2.504 MB / 250.7 MB Notification: Performance of Templates: time 0.003645/0.01642, allocations: 2.17 MB / 258 MB, free: 376 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4085361352190375]