Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001749/0.001749, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.002034/0.002034, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.602/1.602, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2317/0.2317, allocations: 46.96 MB / 360.9 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003111/0.003111, allocations: 67.91 kB / 0.4966 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4112, allocations: 66.03 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02085/0.432, allocations: 15.71 MB / 0.5764 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.4446, allocations: 5.093 MB / 0.5814 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004091/0.4487, allocations: 135.4 kB / 0.5815 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007366/0.4561, allocations: 2.986 MB / 0.5844 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008957/0.465, allocations: 2.634 MB / 0.587 GB, free: 9.523 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003339/0.4684, allocations: 1.026 MB / 0.588 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01399/0.4823, allocations: 7.664 MB / 0.5955 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007912/0.4903, allocations: 3.592 MB / 0.599 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005114/0.4954, allocations: 2.297 MB / 0.6012 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005989/0.5014, allocations: 3.348 MB / 0.6045 GB, free: 7.512 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001685/0.503, allocations: 456 kB / 0.605 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003347/0.5064, allocations: 1.198 MB / 0.6061 GB, free: 5.867 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004067/0.5105, allocations: 2.859 MB / 0.6089 GB, free: 3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005995/0.5165, allocations: 2.372 MB / 0.6112 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02243/0.5389, allocations: 10.04 MB / 0.621 GB, free: 6.535 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.5389, allocations: 0 / 0.621 GB, free: 6.535 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5389, allocations: 0 / 0.621 GB, free: 6.535 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004754/0.5394, allocations: 4 kB / 0.621 GB, free: 6.531 MB / 462.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.03341/0.5728, allocations: 7.306 MB / 0.6282 GB, free: 15.15 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.5728, allocations: 8.031 kB / 0.6282 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02528/0.5981, allocations: 3.881 MB / 0.632 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/0.6086, allocations: 3.963 MB / 0.6358 GB, free: 7.238 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/0.6089, allocations: 312.4 kB / 0.6361 GB, free: 6.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001915/0.6108, allocations: 443.8 kB / 0.6366 GB, free: 6.496 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03391/0.6447, allocations: 15.66 MB / 0.6519 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002847/0.645, allocations: 59.59 kB / 0.6519 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001517/0.6465, allocations: 199.7 kB / 0.6521 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006991/0.6535, allocations: 3.384 MB / 0.6554 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03256/0.6861, allocations: 14.76 MB / 0.6698 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1072/0.7933, allocations: 51.24 MB / 0.7199 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01926/0.8126, allocations: 6.936 MB / 0.7266 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007337/0.8199, allocations: 4.484 MB / 0.731 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/0.8215, allocations: 0.6419 MB / 0.7316 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.178e-05/0.8216, allocations: 65.08 kB / 0.7317 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 7.715e-06/0.8216, allocations: 0 / 0.7317 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.4559/1.278, allocations: 40.05 MB / 0.7708 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/1.278, allocations: 116 kB / 0.7709 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004864/1.282, allocations: 4.161 MB / 0.775 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005419/1.283, allocations: 85.53 kB / 0.7751 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001821/1.285, allocations: 3.963 MB / 0.7789 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001768/1.287, allocations: 1.555 MB / 0.7805 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003215/1.29, allocations: 1.58 MB / 0.782 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.542e-05/1.29, allocations: 301.1 kB / 0.7823 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004988/1.295, allocations: 4.079 MB / 0.7863 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007513/1.302, allocations: 7.874 MB / 0.794 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/1.315, allocations: 12.88 MB / 0.8065 GB, free: 93.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001427/1.315, allocations: 36 kB / 0.8066 GB, free: 92.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.02323/1.338, allocations: 14.69 MB / 0.8209 GB, free: 78.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/1.338, allocations: 62.34 kB / 0.821 GB, free: 78.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001799/1.338, allocations: 131.9 kB / 0.8211 GB, free: 78.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007386/1.346, allocations: 2.923 MB / 0.8239 GB, free: 75.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005692/1.351, allocations: 1.813 MB / 0.8257 GB, free: 73.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/1.369, allocations: 15.54 MB / 0.8409 GB, free: 57.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006891/1.375, allocations: 0.4989 MB / 0.8414 GB, free: 57.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001596/1.377, allocations: 423.9 kB / 0.8418 GB, free: 56.65 MB / 0.5606 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.00526/1.382, allocations: 2.886 MB / 0.8446 GB, free: 53.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/1.384, allocations: 453 kB / 0.845 GB, free: 53.31 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01739/1.401, allocations: 10.88 MB / 0.8557 GB, free: 42.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.936e-05/1.401, allocations: 60 kB / 0.8557 GB, free: 42.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/1.401, allocations: 13.72 kB / 0.8557 GB, free: 42.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.793e-05/1.401, allocations: 23.92 kB / 0.8558 GB, free: 42.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03032/1.431, allocations: 19.44 MB / 0.8748 GB, free: 22.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/1.431, allocations: 15.94 kB / 0.8748 GB, free: 22.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002933/1.434, allocations: 0.6794 MB / 0.8754 GB, free: 21.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007157/1.441, allocations: 2.736 MB / 0.8781 GB, free: 19.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005105/1.442, allocations: 78.97 kB / 0.8782 GB, free: 19.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/1.458, allocations: 14.16 MB / 0.892 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/1.458, allocations: 19.88 kB / 0.892 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02667/1.484, allocations: 15.51 MB / 0.9072 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/1.486, allocations: 416.9 kB / 0.9076 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008784/1.487, allocations: 79.52 kB / 0.9076 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002768/1.489, allocations: 315.5 kB / 0.9079 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007389/1.49, allocations: 269.9 kB / 0.9082 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003193/1.491, allocations: 116 kB / 0.9083 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003836/1.494, allocations: 2.425 MB / 0.9107 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.494, allocations: 0 / 0.9107 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006033/1.5, allocations: 1.652 MB / 0.9123 GB, free: 15.74 MB / 0.5919 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.0006458/1.501, allocations: 233.7 kB / 0.9125 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01598/1.517, allocations: 9.675 MB / 0.922 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.627e-05/1.517, allocations: 0 / 0.922 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006867/1.524, allocations: 4.069 MB / 0.9259 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003678/1.528, allocations: 0.6071 MB / 0.9265 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02907/1.557, allocations: 16.01 MB / 0.9422 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006445/1.563, allocations: 4.033 MB / 0.9461 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.006501/1.57, allocations: 2.686 MB / 0.9487 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/1.571, allocations: 335.3 kB / 0.949 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of SimCode: time 1.142e-06/1.571, allocations: 0 / 0.949 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of Templates: time 0.3962/1.967, allocations: 70.33 MB / 1.018 GB, free: 189.3 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 9.102234680205584]