Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001875/0.001875, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002099/0.002099, allocations: 214.7 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.603/1.603, allocations: 230.5 MB / 257.4 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] 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.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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 71.86 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2538, allocations: 53.41 MB / 431.6 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004131/0.2579, allocations: 2.248 MB / 433.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.2593, allocations: 0.6232 MB / 434.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.2594, allocations: 7.938 kB / 434.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.2596, allocations: 39.59 kB / 434.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.2598, allocations: 79.33 kB / 434.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.26, allocations: 67.84 kB / 434.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.2604, allocations: 266.7 kB / 434.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.2606, allocations: 75.22 kB / 435 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.2608, allocations: 111.6 kB / 435.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.2609, allocations: 107.4 kB / 435.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.261, allocations: 20 kB / 435.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.193e-05/0.261, allocations: 28 kB / 435.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.2611, allocations: 51.78 kB / 435.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.2612, allocations: 99.53 kB / 435.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003685/0.2616, allocations: 276.1 kB / 435.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2616, allocations: 3.984 kB / 435.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2616, allocations: 0 / 435.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.2616, allocations: 0 / 435.7 MB, free: 2.496 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.0008189/0.2624, allocations: 465.5 kB / 436.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2625, allocations: 11.98 kB / 436.2 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.2626, allocations: 36.75 kB / 436.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.263, allocations: 194.8 kB / 436.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.263, allocations: 12.81 kB / 436.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.2631, allocations: 28.33 kB / 436.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.2634, allocations: 195.6 kB / 436.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.2634, allocations: 0 / 436.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.2635, allocations: 8 kB / 436.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.2635, allocations: 11.94 kB / 436.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.2638, allocations: 141.6 kB / 436.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009142/0.2647, allocations: 0.5019 MB / 437.3 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.265, allocations: 162.5 kB / 437.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.2652, allocations: 99.89 kB / 437.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.2652, allocations: 4 kB / 437.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.2652, allocations: 34.56 kB / 437.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.2652, allocations: 0 / 437.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001928/0.2672, allocations: 0.9191 MB / 438.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.2672, allocations: 55.41 kB / 438.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.2674, allocations: 171 kB / 438.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.2674, allocations: 29.7 kB / 438.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2675, allocations: 144.7 kB / 438.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.363e-05/0.2676, allocations: 115 kB / 439 MB, free: 15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.592e-05/0.2677, allocations: 53.7 kB / 439.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.2679, allocations: 334.8 kB / 439.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.2681, allocations: 71.97 kB / 439.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.2683, allocations: 107.2 kB / 439.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.2686, allocations: 192.7 kB / 439.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2686, allocations: 0 / 439.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005248/0.2691, allocations: 287.3 kB / 440 MB, free: 13.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2692, allocations: 8 kB / 440 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2692, allocations: 3.984 kB / 440 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/0.2693, allocations: 52.72 kB / 440.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.2696, allocations: 55.97 kB / 440.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.2712, allocations: 1.606 MB / 441.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.2713, allocations: 16.09 kB / 441.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.2713, allocations: 4 kB / 441.8 MB, free: 12.09 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.0001696/0.2715, allocations: 145.4 kB / 441.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.2715, allocations: 23.86 kB / 441.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.376e-05/0.2716, allocations: 26.59 kB / 442 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2716, allocations: 7.938 kB / 442 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.2716, allocations: 4 kB / 442 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2716, allocations: 3.984 kB / 442 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.2727, allocations: 0.6798 MB / 442.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.2727, allocations: 4 kB / 442.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.273, allocations: 51.97 kB / 442.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/0.2731, allocations: 44.7 kB / 442.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.2731, allocations: 8 kB / 442.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.2744, allocations: 1.355 MB / 444.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2744, allocations: 0 / 444.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007058/0.2751, allocations: 486.9 kB / 444.6 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.2752, allocations: 27.89 kB / 444.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.2752, allocations: 4 kB / 444.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.2754, allocations: 16 kB / 444.6 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.2754, allocations: 23.95 kB / 444.7 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.2754, allocations: 8 kB / 444.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.2755, allocations: 124.5 kB / 444.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2755, allocations: 0 / 444.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003719/0.2759, allocations: 64 kB / 444.9 MB, free: 8.801 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.0001424/0.276, allocations: 111.2 kB / 445 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006543/0.2767, allocations: 330.6 kB / 445.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2767, allocations: 0 / 445.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.2771, allocations: 226.5 kB / 445.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.2775, allocations: 47 kB / 445.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.2787, allocations: 0.7387 MB / 446.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.2789, allocations: 150.8 kB / 446.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.076e-05/0.279, allocations: 22.28 kB / 446.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.279, allocations: 19.44 kB / 446.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.279, allocations: 3.938 kB / 446.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of Templates: time 0.007516/0.2865, allocations: 2.955 MB / 449.4 MB, free: 4.164 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.633324725553393]