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.001915/0.001915, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.002241/0.002241, allocations: 160 kB / 23.95 MB, free: 4.168 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.481/1.481, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.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 1.343e-06/1.343e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.374e-05, allocations: 6.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003491/0.003514, allocations: 2.247 MB / 327.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.004749, allocations: 0.6271 MB / 327.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.004875, allocations: 4.375 kB / 327.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.005031, allocations: 40.08 kB / 327.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.005221, allocations: 84.77 kB / 328 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.005482, allocations: 68.44 kB / 328.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.005837, allocations: 287.9 kB / 328.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.006013, allocations: 70.62 kB / 328.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.00632, allocations: 165.3 kB / 328.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.006474, allocations: 82.34 kB / 328.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.006512, allocations: 25.53 kB / 328.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.543e-05/0.006587, allocations: 27.56 kB / 328.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.00664, allocations: 45.77 kB / 328.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.006763, allocations: 85.91 kB / 328.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.007152, allocations: 273 kB / 329.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.007156, allocations: 5.312 kB / 329.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.007156, allocations: 0 / 329.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.007162, allocations: 0 / 329.1 MB, free: 13.95 MB / 302.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.0007945/0.007956, allocations: 459.1 kB / 329.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.007993, allocations: 16.64 kB / 329.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.008169, allocations: 38.69 kB / 329.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.00853, allocations: 191.1 kB / 329.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.008551, allocations: 13.53 kB / 329.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.008596, allocations: 24.36 kB / 329.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.008984, allocations: 196.6 kB / 330 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.009004, allocations: 7.062 kB / 330 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.00903, allocations: 9.719 kB / 330 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.009041, allocations: 9.75 kB / 330.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.009342, allocations: 136.7 kB / 330.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009416/0.01028, allocations: 0.5019 MB / 330.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.01061, allocations: 173.6 kB / 330.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.01079, allocations: 93.38 kB / 331 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.01081, allocations: 2.219 kB / 331 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.01085, allocations: 36.75 kB / 331 MB, free: 12.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.01085, allocations: 0 / 331 MB, free: 12.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.002015/0.01286, allocations: 0.9137 MB / 331.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.01292, allocations: 59.42 kB / 332 MB, free: 12.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.01309, allocations: 167.3 kB / 332.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.01312, allocations: 30.92 kB / 332.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.01324, allocations: 142.9 kB / 332.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.776e-05/0.01333, allocations: 120 kB / 332.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.01342, allocations: 57.42 kB / 332.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.01359, allocations: 332.3 kB / 332.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.01375, allocations: 81.55 kB / 332.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.01394, allocations: 109.9 kB / 333 MB, free: 11.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.01429, allocations: 185.6 kB / 333.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01429, allocations: 3.984 kB / 333.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005373/0.01483, allocations: 285.3 kB / 333.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.01485, allocations: 13.72 kB / 333.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01485, allocations: 1.188 kB / 333.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001814/0.01504, allocations: 42.48 kB / 333.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.01529, allocations: 60.5 kB / 333.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.01695, allocations: 1.601 MB / 335.2 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.01708, allocations: 16.14 kB / 335.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.0171, allocations: 11.81 kB / 335.2 MB, free: 9.281 MB / 302.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.000156/0.01726, allocations: 137 kB / 335.3 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.01731, allocations: 21.52 kB / 335.3 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.304e-05/0.01737, allocations: 34.2 kB / 335.4 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.01738, allocations: 3.781 kB / 335.4 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.01739, allocations: 3.938 kB / 335.4 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.01739, allocations: 5.281 kB / 335.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.01853, allocations: 0.6752 MB / 336.1 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.01853, allocations: 1.094 kB / 336.1 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.0188, allocations: 61.44 kB / 336.1 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.01893, allocations: 33.45 kB / 336.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.01895, allocations: 7.125 kB / 336.2 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.0202, allocations: 1.361 MB / 337.5 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.0202, allocations: 5.25 kB / 337.5 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000713/0.02092, allocations: 482.6 kB / 338 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.02095, allocations: 19.23 kB / 338 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.02098, allocations: 5.938 kB / 338 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.02112, allocations: 12.44 kB / 338 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.02118, allocations: 32.34 kB / 338.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.0212, allocations: 14.14 kB / 338.1 MB, free: 6.809 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.02131, allocations: 117.3 kB / 338.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.02131, allocations: 0 / 338.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.02169, allocations: 72.75 kB / 338.3 MB, free: 6.703 MB / 302.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.0001199/0.02181, allocations: 97.81 kB / 338.4 MB, free: 6.613 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000615/0.02243, allocations: 340.6 kB / 338.7 MB, free: 6.391 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.02243, allocations: 1.062 kB / 338.7 MB, free: 6.391 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003598/0.02279, allocations: 235.5 kB / 338.9 MB, free: 6.223 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.02322, allocations: 40.95 kB / 339 MB, free: 6.199 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.02439, allocations: 0.6206 MB / 339.6 MB, free: 5.738 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.02454, allocations: 150.3 kB / 339.7 MB, free: 5.621 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.175e-05/0.02462, allocations: 31.39 kB / 339.8 MB, free: 5.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.02468, allocations: 21.25 kB / 339.8 MB, free: 5.594 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.02468, allocations: 0 / 339.8 MB, free: 5.594 MB / 302.1 MB Notification: Performance of Templates: time 0.007098/0.03178, allocations: 2.649 MB / 342.4 MB, free: 3.066 MB / 302.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.275640971958637]