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.002064/0.002064, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002578/0.002578, allocations: 160.9 kB / 24.27 MB, free: 164 kB / 18.57 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.477/1.477, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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.764e-06/1.764e-06, allocations: 0 / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.657e-05/3.833e-05, allocations: 10.25 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004608/0.004646, allocations: 2.257 MB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.006056, allocations: 0.6192 MB / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.006308, allocations: 4 kB / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.006525, allocations: 39.59 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.00681, allocations: 83.27 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.007172, allocations: 71.83 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005018/0.007674, allocations: 278.5 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.007905, allocations: 79.25 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004377/0.008343, allocations: 171.5 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.008555, allocations: 75.78 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.667e-05/0.008601, allocations: 20 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.491e-05/0.008686, allocations: 31.92 kB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.008744, allocations: 51.77 kB / 276 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.00886, allocations: 79.83 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.009285, allocations: 275.1 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.009289, allocations: 4 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00929, allocations: 0 / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.009299, allocations: 0 / 276.3 MB, free: 13.68 MB / 266.7 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.0008658/0.01016, allocations: 461.5 kB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.0102, allocations: 15.98 kB / 276.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.01042, allocations: 52.73 kB / 276.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.01081, allocations: 186.1 kB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.01084, allocations: 16.88 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.01089, allocations: 24.38 kB / 277 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004205/0.01131, allocations: 196.6 kB / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.01133, allocations: 4.141 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.01136, allocations: 8.375 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.01137, allocations: 15.88 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.01167, allocations: 133.9 kB / 277.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.01268, allocations: 0.5138 MB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.01302, allocations: 173.3 kB / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.01321, allocations: 84.83 kB / 278.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.01323, allocations: 4 kB / 278.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.01327, allocations: 34.56 kB / 278.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.282e-06/0.01327, allocations: 0 / 278.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.002117/0.01539, allocations: 0.9294 MB / 279.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.01545, allocations: 55.41 kB / 279.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.01565, allocations: 167 kB / 279.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.01567, allocations: 29.7 kB / 279.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.0158, allocations: 140.8 kB / 279.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.01592, allocations: 119 kB / 279.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.01602, allocations: 53.7 kB / 279.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.01622, allocations: 334.8 kB / 280 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.01639, allocations: 75.97 kB / 280.1 MB, free: 9.695 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.01658, allocations: 110.3 kB / 280.2 MB, free: 9.578 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.01694, allocations: 192.1 kB / 280.4 MB, free: 9.383 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.01694, allocations: 0 / 280.4 MB, free: 9.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000598/0.01754, allocations: 303.2 kB / 280.7 MB, free: 9.078 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.01756, allocations: 15.98 kB / 280.7 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01757, allocations: 4 kB / 280.7 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/0.01778, allocations: 40.84 kB / 280.7 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.01805, allocations: 55.91 kB / 280.8 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.01982, allocations: 1.614 MB / 282.4 MB, free: 7.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.01994, allocations: 8 kB / 282.4 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.01996, allocations: 11.98 kB / 282.4 MB, free: 7.23 MB / 266.7 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.000154/0.02012, allocations: 141.8 kB / 282.6 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.02018, allocations: 31.86 kB / 282.6 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.477e-05/0.02025, allocations: 30.66 kB / 282.6 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.02025, allocations: 4 kB / 282.6 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.02026, allocations: 3.938 kB / 282.6 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.02027, allocations: 3.984 kB / 282.6 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.02145, allocations: 0.6763 MB / 283.3 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02146, allocations: 3.938 kB / 283.3 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.02173, allocations: 63.89 kB / 283.4 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001564/0.02189, allocations: 32.84 kB / 283.4 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.02191, allocations: 8.094 kB / 283.4 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.02329, allocations: 1.362 MB / 284.8 MB, free: 4.703 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.02329, allocations: 0 / 284.8 MB, free: 4.703 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008241/0.02412, allocations: 499.5 kB / 285.3 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.02415, allocations: 23.86 kB / 285.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.02418, allocations: 12.06 kB / 285.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.02432, allocations: 12 kB / 285.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/0.0244, allocations: 31.88 kB / 285.3 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.02442, allocations: 8 kB / 285.3 MB, free: 4.102 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.02453, allocations: 123.2 kB / 285.5 MB, free: 3.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02453, allocations: 0 / 285.5 MB, free: 3.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003925/0.02492, allocations: 68 kB / 285.5 MB, free: 3.914 MB / 266.7 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.0001422/0.02507, allocations: 103.2 kB / 285.6 MB, free: 3.801 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006592/0.02573, allocations: 326.4 kB / 286 MB, free: 3.469 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.02573, allocations: 0 / 286 MB, free: 3.469 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004076/0.02614, allocations: 239.4 kB / 286.2 MB, free: 3.223 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.02657, allocations: 40.28 kB / 286.2 MB, free: 3.184 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.02785, allocations: 0.6377 MB / 286.9 MB, free: 2.508 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.02801, allocations: 142.8 kB / 287 MB, free: 2.348 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.547e-05/0.0281, allocations: 26.28 kB / 287 MB, free: 2.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/0.02816, allocations: 20.5 kB / 287 MB, free: 2.301 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02816, allocations: 0 / 287 MB, free: 2.301 MB / 266.7 MB Notification: Performance of Templates: time 0.007064/0.03522, allocations: 2.7 MB / 289.7 MB, free: 15.64 MB / 282.7 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.283897569985129]