Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.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.00191/0.00191, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001525/0.001525, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.447/1.447, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First") [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.002001/0.002001, allocations: 67.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2525, allocations: 53.32 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003889/0.2564, allocations: 2.391 MB / 434.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.2576, allocations: 0.6583 MB / 435.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.2577, allocations: 4 kB / 435.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.2578, allocations: 35.59 kB / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.258, allocations: 75.33 kB / 435.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.2583, allocations: 71.84 kB / 435.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.2586, allocations: 274.7 kB / 435.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.2588, allocations: 70.77 kB / 435.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.259, allocations: 119.6 kB / 435.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.2591, allocations: 115.5 kB / 435.8 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.2592, allocations: 20 kB / 435.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.785e-05/0.2592, allocations: 28 kB / 435.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.2593, allocations: 51.77 kB / 435.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.2594, allocations: 119.4 kB / 436 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.2598, allocations: 268.4 kB / 436.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2598, allocations: 0 / 436.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2598, allocations: 0 / 436.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.2598, allocations: 0 / 436.3 MB, free: 3.086 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007799/0.2606, allocations: 0.5377 MB / 436.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.2606, allocations: 12.91 kB / 436.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.2608, allocations: 36.75 kB / 436.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.2611, allocations: 248.7 kB / 437.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.2611, allocations: 12.81 kB / 437.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.2612, allocations: 32.33 kB / 437.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/0.2615, allocations: 199.5 kB / 437.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.2616, allocations: 3.984 kB / 437.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.2616, allocations: 8 kB / 437.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.2616, allocations: 11.94 kB / 437.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.2619, allocations: 133.7 kB / 437.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009712/0.2629, allocations: 0.6232 MB / 438.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.2632, allocations: 170.5 kB / 438.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.2633, allocations: 92.81 kB / 438.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.2634, allocations: 0 / 438.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.2634, allocations: 38.56 kB / 438.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.092e-06/0.2634, allocations: 4 kB / 438.5 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002054/0.2655, allocations: 1.081 MB / 439.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.2655, allocations: 63.34 kB / 439.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.2657, allocations: 182.9 kB / 439.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.2657, allocations: 29.7 kB / 439.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.2658, allocations: 144.8 kB / 439.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.113e-05/0.2659, allocations: 115 kB / 440.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.223e-05/0.266, allocations: 53.7 kB / 440.1 MB, free: 15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.2662, allocations: 334.8 kB / 440.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.2663, allocations: 67.97 kB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.2665, allocations: 107.2 kB / 440.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.2668, allocations: 197 kB / 440.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2668, allocations: 0 / 440.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000518/0.2673, allocations: 299.2 kB / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2674, allocations: 4 kB / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2674, allocations: 0 / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.2675, allocations: 40.84 kB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.2678, allocations: 55.91 kB / 441.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.2694, allocations: 1.748 MB / 442.9 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.2695, allocations: 12.28 kB / 442.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.2695, allocations: 16 kB / 443 MB, free: 11.97 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.2697, allocations: 137.8 kB / 443.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.2697, allocations: 23.8 kB / 443.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.407e-05/0.2698, allocations: 34.64 kB / 443.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2698, allocations: 4 kB / 443.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2698, allocations: 4 kB / 443.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.2698, allocations: 3.984 kB / 443.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.271, allocations: 0.7742 MB / 443.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.271, allocations: 0 / 443.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.2712, allocations: 67.84 kB / 444 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/0.2713, allocations: 32.94 kB / 444 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.2714, allocations: 8 kB / 444 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.2727, allocations: 1.493 MB / 445.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2727, allocations: 0 / 445.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007424/0.2734, allocations: 490.6 kB / 446 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.2735, allocations: 96.97 kB / 446.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.2735, allocations: 8 kB / 446.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.2736, allocations: 12.03 kB / 446.1 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.2737, allocations: 19.97 kB / 446.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.2737, allocations: 8 kB / 446.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.2738, allocations: 140.3 kB / 446.3 MB, free: 8.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2738, allocations: 0 / 446.3 MB, free: 8.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003728/0.2742, allocations: 64 kB / 446.4 MB, free: 8.289 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001303/0.2743, allocations: 115.1 kB / 446.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006754/0.275, allocations: 334.6 kB / 446.8 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.275, allocations: 4.125 kB / 446.8 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.2754, allocations: 226.5 kB / 447 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.2758, allocations: 52.12 kB / 447.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.2772, allocations: 0.733 MB / 447.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.2776, allocations: 0.7563 MB / 448.6 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.632e-05/0.2776, allocations: 26.28 kB / 448.6 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.2777, allocations: 23.44 kB / 448.6 MB, free: 5.934 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2777, allocations: 0 / 448.6 MB, free: 5.934 MB / 350.1 MB Notification: Performance of Templates: time 0.007057/0.2848, allocations: 2.834 MB / 451.4 MB, free: 3.117 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.First.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: 4.5250387992709875]