Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002473/0.002473, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 59.91 kB / 347.7 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2633, allocations: 49.15 MB / 396.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003354/0.2666, allocations: 2.231 MB / 399.1 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000987/0.2676, allocations: 0.604 MB / 399.7 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.2677, allocations: 4.344 kB / 399.7 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.2679, allocations: 40.38 kB / 399.7 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.268, allocations: 69.55 kB / 399.8 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.2682, allocations: 66.7 kB / 399.9 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.2685, allocations: 252.9 kB / 400.1 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.2686, allocations: 66.14 kB / 400.2 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.2688, allocations: 99.19 kB / 400.3 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.269, allocations: 98.64 kB / 400.4 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.269, allocations: 19.34 kB / 400.4 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.472e-05/0.269, allocations: 18.81 kB / 400.4 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.2691, allocations: 41.97 kB / 400.4 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.2692, allocations: 102.9 kB / 400.5 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000388/0.2696, allocations: 257.4 kB / 400.8 MB, free: 6.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2696, allocations: 0 / 400.8 MB, free: 6.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2696, allocations: 0 / 400.8 MB, free: 6.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.2696, allocations: 0.8125 kB / 400.8 MB, free: 6.926 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006948/0.2703, allocations: 446.3 kB / 401.2 MB, free: 6.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.2703, allocations: 12.86 kB / 401.2 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.2704, allocations: 25.48 kB / 401.3 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.2707, allocations: 182.1 kB / 401.4 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.2707, allocations: 20.69 kB / 401.5 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.2708, allocations: 22.62 kB / 401.5 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.2711, allocations: 212.3 kB / 401.7 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.2711, allocations: 5.109 kB / 401.7 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.2712, allocations: 5.219 kB / 401.7 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.2712, allocations: 6.047 kB / 401.7 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.2714, allocations: 125.6 kB / 401.8 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008349/0.2723, allocations: 0.595 MB / 402.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.2725, allocations: 136.2 kB / 402.6 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.2726, allocations: 63.83 kB / 402.6 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.2726, allocations: 6.188 kB / 402.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.2727, allocations: 35.69 kB / 402.7 MB, free: 5.625 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.2727, allocations: 0.9375 kB / 402.7 MB, free: 5.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001385/0.2741, allocations: 0.7384 MB / 403.4 MB, free: 5.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.2741, allocations: 57.62 kB / 403.5 MB, free: 5.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.2742, allocations: 164.1 kB / 403.6 MB, free: 4.965 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.2742, allocations: 31.17 kB / 403.6 MB, free: 4.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.2743, allocations: 143.7 kB / 403.8 MB, free: 4.801 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.2743, allocations: 92.33 kB / 403.9 MB, free: 4.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.2744, allocations: 46.42 kB / 403.9 MB, free: 4.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.2745, allocations: 329.7 kB / 404.2 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.2746, allocations: 61.58 kB / 404.3 MB, free: 4.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.2747, allocations: 95.12 kB / 404.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.2749, allocations: 169.6 kB / 404.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.2749, allocations: 0 / 404.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003877/0.2753, allocations: 255.8 kB / 404.8 MB, free: 4.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2753, allocations: 5.469 kB / 404.8 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2753, allocations: 5.281 kB / 404.8 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001579/0.2755, allocations: 32.48 kB / 404.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.2757, allocations: 50.77 kB / 404.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008536/0.2766, allocations: 1.35 MB / 406.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.2767, allocations: 17.16 kB / 406.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.2767, allocations: 11.69 kB / 406.3 MB, free: 2.734 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 9.672e-05/0.2768, allocations: 135.3 kB / 406.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.2768, allocations: 25.39 kB / 406.4 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.2769, allocations: 23.16 kB / 406.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2769, allocations: 3.594 kB / 406.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2769, allocations: 1.031 kB / 406.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2769, allocations: 5.344 kB / 406.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007534/0.2776, allocations: 0.5653 MB / 407 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2776, allocations: 0 / 407 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.2778, allocations: 45.8 kB / 407.1 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.2779, allocations: 31.55 kB / 407.1 MB, free: 2.133 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.278, allocations: 9.922 kB / 407.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007781/0.2788, allocations: 1.355 MB / 408.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2788, allocations: 3.938 kB / 408.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/0.2793, allocations: 398.6 kB / 408.9 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.2793, allocations: 22.22 kB / 408.9 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.2793, allocations: 6.922 kB / 408.9 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.2794, allocations: 5.234 kB / 408.9 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.2795, allocations: 22.66 kB / 408.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.2795, allocations: 6.188 kB / 408.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.651e-05/0.2796, allocations: 125.9 kB / 409.1 MB, free: 476 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2796, allocations: 0 / 409.1 MB, free: 476 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000328/0.2799, allocations: 57.62 kB / 409.1 MB, free: 468 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * 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 9.059e-05/0.28, allocations: 98.59 kB / 409.2 MB, free: 376 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004854/0.2805, allocations: 302.1 kB / 409.5 MB, free: 188 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2805, allocations: 0 / 409.5 MB, free: 188 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.2807, allocations: 208.2 kB / 409.7 MB, free: 44 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.2811, allocations: 48.39 kB / 409.8 MB, free: 20 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.2824, allocations: 0.6784 MB / 410.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.2826, allocations: 139 kB / 410.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.391e-05/0.2826, allocations: 19.97 kB / 410.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.2827, allocations: 19.42 kB / 410.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2827, allocations: 0 / 410.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of Templates: time 0.006741/0.2894, allocations: 2.717 MB / 413.3 MB, free: 14.57 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.720007287338376]