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.001734/0.001734, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001505/0.001505, allocations: 214.1 kB / 24.48 MB, free: 3.957 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.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.773 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.001536/0.001536, allocations: 47.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2439, allocations: 53.38 MB / 432.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004364/0.2482, allocations: 2.699 MB / 435.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.2495, allocations: 0.6816 MB / 435.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.2497, allocations: 12 kB / 435.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.2499, allocations: 55.38 kB / 435.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.2501, allocations: 91.19 kB / 435.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.2503, allocations: 83.89 kB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004128/0.2507, allocations: 378.3 kB / 436.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.251, allocations: 113.8 kB / 436.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.2513, allocations: 159.5 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.2515, allocations: 151.3 kB / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.848e-05/0.2516, allocations: 35.94 kB / 436.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.208e-05/0.2516, allocations: 32 kB / 436.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.12e-05/0.2517, allocations: 75.75 kB / 436.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.2518, allocations: 135.4 kB / 437 MB, free: 2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.2523, allocations: 389.3 kB / 437.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2523, allocations: 4 kB / 437.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2523, allocations: 0 / 437.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.2523, allocations: 0 / 437.4 MB, free: 1.617 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.0009616/0.2532, allocations: 0.5404 MB / 438 MB, free: 1.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2533, allocations: 8.031 kB / 438 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.337e-05/0.2533, allocations: 40.7 kB / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.2537, allocations: 206.7 kB / 438.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.2538, allocations: 21.03 kB / 438.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/0.2538, allocations: 36.38 kB / 438.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000587/0.2544, allocations: 329.8 kB / 438.6 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.2544, allocations: 4 kB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.2545, allocations: 16 kB / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.2545, allocations: 8 kB / 438.6 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.2549, allocations: 202.5 kB / 438.8 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.2564, allocations: 0.8049 MB / 439.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.2567, allocations: 146.6 kB / 439.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.2569, allocations: 80.81 kB / 439.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.2569, allocations: 3.938 kB / 439.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.257, allocations: 38.56 kB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 3.426e-06/0.257, allocations: 7.922 kB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005738/0.2575, allocations: 205.7 kB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.2576, allocations: 55.41 kB / 440.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.2578, allocations: 188.2 kB / 440.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.2578, allocations: 29.7 kB / 440.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.258, allocations: 208.2 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.951e-05/0.258, allocations: 67.44 kB / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/0.2581, allocations: 45.7 kB / 440.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2582, allocations: 334.8 kB / 441 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.2584, allocations: 55.97 kB / 441 MB, free: 13.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.2586, allocations: 125.9 kB / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.259, allocations: 185.8 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.259, allocations: 0 / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004816/0.2594, allocations: 249.2 kB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2595, allocations: 6.656 kB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2595, allocations: 4.125 kB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.2595, allocations: 4 kB / 441.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.2598, allocations: 59.97 kB / 441.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.2598, allocations: 7.938 kB / 441.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.2599, allocations: 23.88 kB / 441.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.26, allocations: 8 kB / 441.7 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.0001466/0.2601, allocations: 145.7 kB / 441.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.2602, allocations: 19.84 kB / 441.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004211/0.2606, allocations: 189.9 kB / 442.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2606, allocations: 4 kB / 442.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2606, allocations: 0 / 442.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2606, allocations: 0 / 442.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.2609, allocations: 217.2 kB / 442.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2609, allocations: 0 / 442.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.2612, allocations: 51.91 kB / 442.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.2612, allocations: 7.875 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.2612, allocations: 8 kB / 442.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2612, allocations: 0 / 442.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2612, allocations: 4 kB / 442.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005875/0.2618, allocations: 339.3 kB / 442.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.2618, allocations: 31.78 kB / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.2619, allocations: 8.125 kB / 442.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.2621, allocations: 15.98 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.2621, allocations: 11.92 kB / 442.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.2621, allocations: 15.98 kB / 442.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.2622, allocations: 135.4 kB / 442.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2622, allocations: 0 / 442.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003459/0.2626, allocations: 79.78 kB / 443 MB, free: 11.76 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.0001232/0.2627, allocations: 99.23 kB / 443.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004201/0.2631, allocations: 162.5 kB / 443.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2631, allocations: 256 / 443.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.2633, allocations: 67.91 kB / 443.3 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.0003155/0.2636, allocations: 27.92 kB / 443.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.2651, allocations: 0.8641 MB / 444.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.2652, allocations: 159.4 kB / 444.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.2653, allocations: 19.44 kB / 444.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2653, allocations: 0 / 444.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Templates: time 0.005242/0.2705, allocations: 2.944 MB / 447.3 MB, free: 7.367 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/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_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.226045737974346]