Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.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.001449/0.001449, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 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.001493/0.001493, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.401/1.401, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.1933/0.1933, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 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.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.867e-05, allocations: 2.281 kB / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.2047/0.2047, allocations: 15.7 MB / 455.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.2161, allocations: 5.109 MB / 460.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004417/0.2205, allocations: 126.5 kB / 461 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006769/0.2273, allocations: 3.125 MB / 464.2 MB, free: 8.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007726/0.235, allocations: 2.716 MB / 466.9 MB, free: 7.457 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.2376, allocations: 1.137 MB / 468 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01104/0.2486, allocations: 9.023 MB / 477 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007448/0.2561, allocations: 4.586 MB / 481.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009838/0.2659, allocations: 3.587 MB / 485.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00767/0.2736, allocations: 3.878 MB / 489.1 MB, free: 8.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001863/0.2755, allocations: 468 kB / 489.6 MB, free: 8.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004091/0.2796, allocations: 1.283 MB / 490.8 MB, free: 7.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004355/0.2839, allocations: 3.015 MB / 493.8 MB, free: 4.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004774/0.2887, allocations: 1.877 MB / 495.7 MB, free: 2.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0168/0.3055, allocations: 10.14 MB / 0.494 GB, free: 8.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3055, allocations: 4 kB / 0.494 GB, free: 8.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3055, allocations: 0 / 0.494 GB, free: 8.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004609/0.3059, allocations: 0 / 0.494 GB, free: 8.145 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.02249/0.3284, allocations: 7.469 MB / 0.5013 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.3285, allocations: 8.031 kB / 0.5013 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01776/0.3463, allocations: 3.994 MB / 0.5052 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/0.3563, allocations: 3.924 MB / 0.509 GB, free: 8.617 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004125/0.3568, allocations: 316.4 kB / 0.5093 GB, free: 8.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002354/0.3591, allocations: 428.1 kB / 0.5098 GB, free: 7.887 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03155/0.3907, allocations: 15.68 MB / 0.5251 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002111/0.3909, allocations: 63.47 kB / 0.5251 GB, free: 7.398 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000728/0.3916, allocations: 199.7 kB / 0.5253 GB, free: 7.203 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006906/0.3985, allocations: 3.387 MB / 0.5286 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0326/0.4311, allocations: 14.78 MB / 0.5431 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09333/0.5244, allocations: 51.79 MB / 0.5936 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01976/0.5442, allocations: 7.182 MB / 0.6006 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007041/0.5512, allocations: 4.476 MB / 0.605 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001526/0.5528, allocations: 0.6498 MB / 0.6056 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.012e-05/0.5528, allocations: 65.08 kB / 0.6057 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=367): time 7.114e-06/0.5528, allocations: 0 / 0.6057 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=419): time 0.3323/0.8851, allocations: 41.35 MB / 0.6461 GB, free: 168.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.8852, allocations: 115.8 kB / 0.6462 GB, free: 168.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006365/0.8916, allocations: 4.473 MB / 0.6506 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007063/0.8923, allocations: 82.11 kB / 0.6506 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002003/0.8943, allocations: 3.935 MB / 0.6545 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001542/0.8958, allocations: 1.542 MB / 0.656 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002167/0.898, allocations: 1.557 MB / 0.6575 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.387e-05/0.898, allocations: 305.7 kB / 0.6578 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005311/0.9033, allocations: 4.086 MB / 0.6618 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007223/0.9106, allocations: 7.866 MB / 0.6695 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01279/0.9233, allocations: 12.88 MB / 0.6821 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001459/0.9235, allocations: 37.69 kB / 0.6821 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.02374/0.9472, allocations: 14.69 MB / 0.6964 GB, free: 139.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.062e-05/0.9473, allocations: 63.94 kB / 0.6965 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001222/0.9474, allocations: 129.5 kB / 0.6966 GB, free: 139.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007427/0.9549, allocations: 2.923 MB / 0.6995 GB, free: 136.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006216/0.9611, allocations: 1.805 MB / 0.7012 GB, free: 134.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01598/0.9771, allocations: 15.57 MB / 0.7164 GB, free: 118.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006992/0.9841, allocations: 0.6164 MB / 0.717 GB, free: 118 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001413/0.9855, allocations: 427.9 kB / 0.7175 GB, free: 117.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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 (942): * Single equations (assignments): 934 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006757/0.9922, allocations: 2.875 MB / 0.7203 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/0.9934, allocations: 456.2 kB / 0.7207 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01634/1.01, allocations: 10.89 MB / 0.7313 GB, free: 103.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.177e-05/1.01, allocations: 64 kB / 0.7314 GB, free: 103.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/1.01, allocations: 8 kB / 0.7314 GB, free: 103.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.966e-05/1.01, allocations: 19.92 kB / 0.7314 GB, free: 103.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03207/1.042, allocations: 19.65 MB / 0.7506 GB, free: 83.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.021e-05/1.042, allocations: 12 kB / 0.7506 GB, free: 83.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003054/1.045, allocations: 0.6825 MB / 0.7513 GB, free: 82.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007175/1.052, allocations: 2.721 MB / 0.7539 GB, free: 80.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005866/1.053, allocations: 83.95 kB / 0.754 GB, free: 79.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0149/1.068, allocations: 14.18 MB / 0.7679 GB, free: 65.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.068, allocations: 19.92 kB / 0.7679 GB, free: 65.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02068/1.088, allocations: 15.5 MB / 0.783 GB, free: 49.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001641/1.09, allocations: 488.9 kB / 0.7835 GB, free: 49.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001234/1.091, allocations: 75.98 kB / 0.7836 GB, free: 49.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003589/1.095, allocations: 434.9 kB / 0.784 GB, free: 48.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000911/1.096, allocations: 277.8 kB / 0.7842 GB, free: 48.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004276/1.096, allocations: 116 kB / 0.7844 GB, free: 48.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003068/1.099, allocations: 2.671 MB / 0.787 GB, free: 45.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.099, allocations: 0 / 0.787 GB, free: 45.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006295/1.106, allocations: 1.863 MB / 0.7888 GB, free: 43.86 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006777/1.106, allocations: 250.4 kB / 0.789 GB, free: 43.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01108/1.117, allocations: 9.642 MB / 0.7984 GB, free: 33.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/1.117, allocations: 8 kB / 0.7984 GB, free: 33.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004561/1.122, allocations: 4.069 MB / 0.8024 GB, free: 29.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003692/1.126, allocations: 0.6148 MB / 0.803 GB, free: 29.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/1.145, allocations: 15.96 MB / 0.8186 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003766/1.148, allocations: 4.033 MB / 0.8225 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005173/1.154, allocations: 2.701 MB / 0.8252 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/1.155, allocations: 348.4 kB / 0.8255 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of SimCode: time 7.32e-07/1.155, allocations: 0 / 0.8255 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of Templates: time 0.3022/1.457, allocations: 67.56 MB / 0.8915 GB, free: 150.4 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.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: 7.847718261182308]