Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.008154/0.008154, allocations: 103.2 kB / 21.97 MB, free: 5.211 MB / 14.72 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.002175/0.002175, allocations: 220.3 kB / 25.29 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 259 MB, free: 8.016 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 63.89 kB / 379.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2444, allocations: 53.37 MB / 433.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004164/0.2486, allocations: 2.936 MB / 436.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.2498, allocations: 0.7166 MB / 436.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.2499, allocations: 11.94 kB / 436.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.2501, allocations: 59.44 kB / 436.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.2503, allocations: 91.19 kB / 437 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.2506, allocations: 91.77 kB / 437.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.251, allocations: 374.4 kB / 437.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.2513, allocations: 117.4 kB / 437.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.2516, allocations: 151.5 kB / 437.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.2518, allocations: 159.3 kB / 437.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.653e-05/0.2518, allocations: 32 kB / 437.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.982e-05/0.2519, allocations: 32 kB / 437.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.2519, allocations: 71.75 kB / 438 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.2521, allocations: 171.1 kB / 438.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.2526, allocations: 377 kB / 438.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2526, allocations: 0 / 438.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2526, allocations: 0 / 438.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.2526, allocations: 0 / 438.5 MB, free: 1.594 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.0009951/0.2536, allocations: 0.5442 MB / 439.1 MB, free: 1.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2536, allocations: 8.031 kB / 439.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.579e-05/0.2537, allocations: 44.7 kB / 439.1 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.2541, allocations: 206.7 kB / 439.3 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.2541, allocations: 21.03 kB / 439.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/0.2541, allocations: 36.38 kB / 439.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.2547, allocations: 278.4 kB / 439.7 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2547, allocations: 0 / 439.7 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.2547, allocations: 16 kB / 439.7 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.2547, allocations: 7.938 kB / 439.7 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.2552, allocations: 206.5 kB / 439.9 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.2568, allocations: 0.9252 MB / 440.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.2571, allocations: 158.6 kB / 441 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.2573, allocations: 72.81 kB / 441 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.2573, allocations: 7.922 kB / 441 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.2574, allocations: 38.56 kB / 441.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.2574, allocations: 4 kB / 441.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006033/0.258, allocations: 216.3 kB / 441.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.258, allocations: 55.41 kB / 441.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.2583, allocations: 210.8 kB / 441.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.2583, allocations: 25.7 kB / 441.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.2584, allocations: 200.3 kB / 441.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.953e-05/0.2585, allocations: 79.38 kB / 441.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/0.2586, allocations: 37.72 kB / 441.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.2587, allocations: 334.8 kB / 442.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.2589, allocations: 63.95 kB / 442.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.2591, allocations: 118 kB / 442.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.2595, allocations: 181.8 kB / 442.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2595, allocations: 4 kB / 442.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004857/0.26, allocations: 249.2 kB / 442.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.26, allocations: 4 kB / 442.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.26, allocations: 4 kB / 442.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.26, allocations: 0 / 442.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.2603, allocations: 59.91 kB / 442.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.2603, allocations: 4 kB / 442.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.2604, allocations: 28 kB / 442.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.2604, allocations: 11.94 kB / 442.9 MB, free: 12.95 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.0001542/0.2606, allocations: 145.7 kB / 443.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.2606, allocations: 19.86 kB / 443.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/0.2611, allocations: 198 kB / 443.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2611, allocations: 0 / 443.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2611, allocations: 4 kB / 443.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2611, allocations: 3.984 kB / 443.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.2615, allocations: 292.5 kB / 443.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2615, allocations: 3.938 kB / 443.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.2618, allocations: 51.91 kB / 443.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2618, allocations: 0 / 443.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.2618, allocations: 8 kB / 443.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2618, allocations: 3.984 kB / 443.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2618, allocations: 0 / 443.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/0.2624, allocations: 351.1 kB / 444 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.2625, allocations: 23.86 kB / 444 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.2625, allocations: 8 kB / 444 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.2627, allocations: 11.98 kB / 444 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.2627, allocations: 15.97 kB / 444 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.2628, allocations: 8 kB / 444.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.2629, allocations: 148.6 kB / 444.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2629, allocations: 0 / 444.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000334/0.2632, allocations: 75.78 kB / 444.3 MB, free: 11.53 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.0001389/0.2634, allocations: 103.2 kB / 444.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004215/0.2638, allocations: 162.6 kB / 444.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2638, allocations: 4 kB / 444.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.2639, allocations: 63.91 kB / 444.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.2643, allocations: 40 kB / 444.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.2658, allocations: 0.8679 MB / 445.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.2662, allocations: 0.7673 MB / 446.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.2663, allocations: 23.44 kB / 446.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2663, allocations: 0 / 446.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of Templates: time 0.005334/0.2716, allocations: 2.913 MB / 449.2 MB, free: 6.527 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.354741471121088]