Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.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.001443/0.001443, allocations: 81.86 kB / 21.42 MB, free: 3.074 MB / 18.57 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.002144/0.002144, allocations: 170.6 kB / 24.82 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2864/0.2864, allocations: 32.81 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 376.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.802e-05, allocations: 13.77 kB / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.009201/0.009229, allocations: 11.52 MB / 388 MB, free: 8.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006607/0.01584, allocations: 3.839 MB / 391.8 MB, free: 4.988 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002082/0.01792, allocations: 67.81 kB / 391.9 MB, free: 4.922 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0028/0.02072, allocations: 1.385 MB / 393.3 MB, free: 3.531 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003257/0.02397, allocations: 1.836 MB / 395.1 MB, free: 1.688 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009718/0.02495, allocations: 0.53 MB / 395.7 MB, free: 1.156 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003783/0.02873, allocations: 3.983 MB / 399.6 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002658/0.03139, allocations: 2.145 MB / 401.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00271/0.0341, allocations: 1.894 MB / 403.7 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002656/0.03675, allocations: 1.913 MB / 405.6 MB, free: 7.164 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007418/0.0375, allocations: 236 kB / 405.8 MB, free: 6.934 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.0389, allocations: 0.9087 MB / 406.7 MB, free: 6.023 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.03999, allocations: 1.671 MB / 408.4 MB, free: 4.348 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.0414, allocations: 0.9963 MB / 409.4 MB, free: 3.348 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004341/0.04574, allocations: 4.062 MB / 413.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.04574, allocations: 0 / 413.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.04575, allocations: 0 / 413.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001964/0.04594, allocations: 0 / 413.5 MB, free: 15.27 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.005886/0.05183, allocations: 4.455 MB / 417.9 MB, free: 10.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.05187, allocations: 8.031 kB / 417.9 MB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004166/0.05603, allocations: 1.828 MB / 419.8 MB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.05809, allocations: 1.541 MB / 421.3 MB, free: 7.332 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.685e-05/0.05819, allocations: 197 kB / 421.5 MB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00036/0.05855, allocations: 244.1 kB / 421.7 MB, free: 6.898 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006595/0.06514, allocations: 4.791 MB / 426.5 MB, free: 1.527 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.39e-05/0.06522, allocations: 27.73 kB / 426.5 MB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002371/0.06545, allocations: 115.8 kB / 426.7 MB, free: 1.387 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001997/0.06745, allocations: 2.171 MB / 428.8 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005749/0.0732, allocations: 2.546 MB / 431.4 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1906/0.2638, allocations: 33.48 MB / 464.9 MB, free: 69.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003088/0.2669, allocations: 1.324 MB / 466.2 MB, free: 69.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005581/0.2675, allocations: 411.5 kB / 466.6 MB, free: 69.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005918/0.2734, allocations: 3.923 MB / 470.5 MB, free: 68.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.2734, allocations: 48.2 kB / 470.6 MB, free: 68.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=166): time 4.91e-06/0.2734, allocations: 3.125 kB / 470.6 MB, free: 68.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=167): time 0.007461/0.2809, allocations: 3.991 MB / 474.5 MB, free: 68.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.2809, allocations: 68.69 kB / 474.6 MB, free: 67.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/0.2831, allocations: 2.672 MB / 477.3 MB, free: 67.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.611e-05/0.2831, allocations: 46.77 kB / 477.3 MB, free: 67.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.2842, allocations: 3.074 MB / 480.4 MB, free: 65.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003708/0.2846, allocations: 0.6877 MB / 481.1 MB, free: 65.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008439/0.2854, allocations: 1.127 MB / 482.2 MB, free: 64.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.2855, allocations: 0.5433 MB / 482.8 MB, free: 64.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007174/0.2862, allocations: 497.7 kB / 483.3 MB, free: 64.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.2884, allocations: 5.025 MB / 488.3 MB, free: 57.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003362/0.2918, allocations: 6.036 MB / 494.3 MB, free: 51.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.525e-05/0.2919, allocations: 33.41 kB / 494.3 MB, free: 51.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.004538/0.2964, allocations: 4.013 MB / 498.4 MB, free: 49.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.639e-05/0.2965, allocations: 51.19 kB / 498.4 MB, free: 49.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001226/0.2966, allocations: 107.2 kB / 498.5 MB, free: 49.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003441/0.2969, allocations: 182.1 kB / 498.7 MB, free: 49.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/0.2989, allocations: 1.097 MB / 499.8 MB, free: 49.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.3, allocations: 1.979 MB / 0.49 GB, free: 48.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.3021, allocations: 189.5 kB / 0.4902 GB, free: 47.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/0.3025, allocations: 276 kB / 0.4905 GB, free: 47.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (628): * Single equations (assignments): 621 * Array equations: 6 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001294/0.3038, allocations: 0.5608 MB / 0.491 GB, free: 47.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004736/0.3043, allocations: 293 kB / 0.4913 GB, free: 47.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.3056, allocations: 0.9863 MB / 0.4922 GB, free: 46.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/0.3056, allocations: 19.84 kB / 0.4923 GB, free: 46.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3056, allocations: 3.938 kB / 0.4923 GB, free: 46.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.3056, allocations: 8.031 kB / 0.4923 GB, free: 46.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006412/0.3121, allocations: 4.342 MB / 0.4965 GB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.3121, allocations: 6.344 kB / 0.4965 GB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/0.3126, allocations: 177.6 kB / 0.4967 GB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001538/0.3127, allocations: 51.48 kB / 0.4967 GB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.925e-05/0.3128, allocations: 30.16 kB / 0.4968 GB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006623/0.3135, allocations: 1.772 MB / 0.4985 GB, free: 42.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.3135, allocations: 9.438 kB / 0.4985 GB, free: 42.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.3155, allocations: 1.563 MB / 0.5 GB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003702/0.3159, allocations: 237.6 kB / 0.5003 GB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.3161, allocations: 28.62 kB / 0.5003 GB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/0.3165, allocations: 29.5 kB / 0.5003 GB, free: 41.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.3166, allocations: 96.41 kB / 0.5004 GB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.797e-05/0.3167, allocations: 45.89 kB / 0.5005 GB, free: 41.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001173/0.3178, allocations: 1.05 MB / 0.5015 GB, free: 41.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3178, allocations: 0 / 0.5015 GB, free: 41.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003761/0.3216, allocations: 0.8662 MB / 0.5023 GB, free: 41.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 (revolute.phi,revolute.w) * 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 (120): * Single equations (assignments): 113 * Array equations: 6 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003926/0.322, allocations: 170.4 kB / 0.5025 GB, free: 41.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00348/0.3255, allocations: 2.324 MB / 0.5048 GB, free: 40.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.3255, allocations: 0 / 0.5048 GB, free: 40.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.326, allocations: 0.6139 MB / 0.5054 GB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.3272, allocations: 274.7 kB / 0.5056 GB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008875/0.336, allocations: 7.006 MB / 0.5125 GB, free: 36.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009153/0.3369, allocations: 1.163 MB / 0.5136 GB, free: 35.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001053/0.338, allocations: 402.2 kB / 0.514 GB, free: 35.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005406/0.3385, allocations: 465.4 kB / 0.5144 GB, free: 35.26 MB / 410.7 MB Notification: Performance of SimCode: time 1.963e-06/0.3385, allocations: 0 / 0.5144 GB, free: 35.26 MB / 410.7 MB Notification: Performance of Templates: time 0.03641/0.3749, allocations: 21.23 MB / 0.5352 GB, free: 18.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","",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.319390441291034]