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.001304/0.001304, allocations: 105.4 kB / 19.81 MB, free: 2.516 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.00145/0.00145, allocations: 215.3 kB / 23 MB, free: 5.609 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.418/1.418, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.001813/0.001813, allocations: 63.89 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2833, allocations: 53.31 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.00374/0.287, allocations: 2.399 MB / 432.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.2882, allocations: 0.6544 MB / 432.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.2883, allocations: 7.938 kB / 432.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.2884, allocations: 31.66 kB / 432.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.2886, allocations: 83.27 kB / 433 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.2889, allocations: 63.92 kB / 433 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.2892, allocations: 282.6 kB / 433.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.2894, allocations: 66.78 kB / 433.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.2896, allocations: 119.5 kB / 433.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.2897, allocations: 111.5 kB / 433.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.2898, allocations: 20 kB / 433.6 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.277e-05/0.2898, allocations: 35.98 kB / 433.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.2899, allocations: 43.84 kB / 433.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.29, allocations: 127.3 kB / 433.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.2904, allocations: 272.1 kB / 434.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2904, allocations: 0 / 434.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2904, allocations: 0 / 434.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.2904, allocations: 0 / 434.1 MB, free: 3.23 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.0007742/0.2912, allocations: 0.5299 MB / 434.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2912, allocations: 11.97 kB / 434.6 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.2914, allocations: 40.73 kB / 434.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.2917, allocations: 252.6 kB / 434.9 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.2917, allocations: 12.81 kB / 434.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.2917, allocations: 28.33 kB / 434.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.2921, allocations: 195.6 kB / 435.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.2922, allocations: 0 / 435.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.2922, allocations: 19.94 kB / 435.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2922, allocations: 4 kB / 435.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.2925, allocations: 141.7 kB / 435.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.2935, allocations: 0.6192 MB / 435.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.2938, allocations: 166.5 kB / 436.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.294, allocations: 88.83 kB / 436.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.294, allocations: 0 / 436.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.294, allocations: 42.55 kB / 436.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.182e-06/0.294, allocations: 0 / 436.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.00201/0.2961, allocations: 1.072 MB / 437.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.2961, allocations: 59.34 kB / 437.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.2963, allocations: 183.2 kB / 437.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.2963, allocations: 29.7 kB / 437.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.2964, allocations: 152.8 kB / 437.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.049e-05/0.2965, allocations: 118.9 kB / 437.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-05/0.2966, allocations: 53.7 kB / 437.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2968, allocations: 330.8 kB / 438.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.2969, allocations: 75.89 kB / 438.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.2971, allocations: 98.81 kB / 438.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.2974, allocations: 201.6 kB / 438.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2975, allocations: 0 / 438.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005451/0.298, allocations: 295.2 kB / 438.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.298, allocations: 4 kB / 438.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.298, allocations: 4.062 kB / 438.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/0.2982, allocations: 44.83 kB / 438.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.2985, allocations: 55.91 kB / 438.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.3002, allocations: 1.732 MB / 440.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.3003, allocations: 15.98 kB / 440.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.3003, allocations: 8 kB / 440.7 MB, free: 12.14 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.0001706/0.3005, allocations: 141.8 kB / 440.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.3005, allocations: 27.8 kB / 440.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.3006, allocations: 30.66 kB / 440.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3006, allocations: 192 / 440.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.3006, allocations: 8 kB / 440.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.3006, allocations: 11.86 kB / 440.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.3018, allocations: 0.7814 MB / 441.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3018, allocations: 4 kB / 441.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.3021, allocations: 59.91 kB / 441.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.3022, allocations: 32.83 kB / 441.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.3022, allocations: 8 kB / 441.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.3036, allocations: 1.493 MB / 443.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3036, allocations: 4.062 kB / 443.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000713/0.3043, allocations: 478.6 kB / 443.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-05/0.3044, allocations: 105 kB / 443.9 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.3044, allocations: 8 kB / 443.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.3045, allocations: 8 kB / 443.9 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.3046, allocations: 27.91 kB / 443.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.3046, allocations: 4 kB / 443.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.3048, allocations: 140.3 kB / 444 MB, free: 8.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3048, allocations: 0 / 444 MB, free: 8.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003925/0.3052, allocations: 64 kB / 444.1 MB, free: 8.438 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.0001703/0.3053, allocations: 111.2 kB / 444.2 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006542/0.306, allocations: 330.4 kB / 444.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.306, allocations: 0 / 444.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.3063, allocations: 230.8 kB / 444.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.3068, allocations: 46.88 kB / 444.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.3081, allocations: 0.7432 MB / 445.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.3085, allocations: 0.7525 MB / 446.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.154e-05/0.3086, allocations: 30.27 kB / 446.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.3087, allocations: 23.44 kB / 446.4 MB, free: 6.098 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3087, allocations: 0 / 446.4 MB, free: 6.098 MB / 350.1 MB Notification: Performance of Templates: time 0.007014/0.3157, allocations: 2.827 MB / 449.2 MB, free: 3.285 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.498702521435916]