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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 108.5 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 187.4 kB / 24.51 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.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.2326/0.2326, allocations: 44.91 MB / 353.5 MB, free: 11.85 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002123/0.002123, allocations: 67.89 kB / 497.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.441, allocations: 64.29 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.022/0.463, allocations: 18.31 MB / 0.5667 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01517/0.4782, allocations: 5.338 MB / 0.5719 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004923/0.4831, allocations: 123.4 kB / 0.572 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007352/0.4904, allocations: 3.122 MB / 0.5751 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007946/0.4984, allocations: 2.658 MB / 0.5777 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.5013, allocations: 1.026 MB / 0.5787 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01185/0.5132, allocations: 7.486 MB / 0.586 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006171/0.5193, allocations: 3.281 MB / 0.5892 GB, free: 5.945 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004855/0.5242, allocations: 2.297 MB / 0.5914 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006367/0.5306, allocations: 3.524 MB / 0.5949 GB, free: 108 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002283/0.5328, allocations: 452 kB / 0.5953 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004573/0.5374, allocations: 1.358 MB / 0.5966 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005519/0.5429, allocations: 2.894 MB / 0.5995 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008197/0.5511, allocations: 3.2 MB / 0.6026 GB, free: 8.184 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01645/0.5676, allocations: 10.06 MB / 0.6124 GB, free: 14.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.5676, allocations: 0 / 0.6124 GB, free: 14.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5676, allocations: 0 / 0.6124 GB, free: 14.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004917/0.5681, allocations: 0 / 0.6124 GB, free: 14.09 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.0274/0.5955, allocations: 7.313 MB / 0.6196 GB, free: 6.699 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/0.5955, allocations: 12.03 kB / 0.6196 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01782/0.6133, allocations: 3.877 MB / 0.6234 GB, free: 2.801 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01399/0.6273, allocations: 4.049 MB / 0.6273 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006427/0.628, allocations: 320.4 kB / 0.6276 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002807/0.6308, allocations: 439.8 kB / 0.628 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03903/0.6698, allocations: 15.59 MB / 0.6433 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003754/0.6702, allocations: 59.53 kB / 0.6433 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002212/0.6724, allocations: 203.8 kB / 0.6435 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007993/0.6804, allocations: 3.372 MB / 0.6468 GB, free: 9.988 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04017/0.7206, allocations: 14.81 MB / 0.6613 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1084/0.8289, allocations: 54.91 MB / 0.7149 GB, free: 3.051 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02029/0.8492, allocations: 6.977 MB / 0.7217 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008327/0.8576, allocations: 4.472 MB / 0.7261 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001909/0.8595, allocations: 0.6575 MB / 0.7267 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.8596, allocations: 65.08 kB / 0.7268 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 9.518e-06/0.8596, allocations: 0 / 0.7268 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.4697/1.329, allocations: 39.95 MB / 0.7658 GB, free: 147 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/1.329, allocations: 116 kB / 0.7659 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009628/1.339, allocations: 4.302 MB / 0.7701 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001326/1.34, allocations: 81.7 kB / 0.7702 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002804/1.343, allocations: 3.945 MB / 0.774 GB, free: 139 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002506/1.346, allocations: 1.555 MB / 0.7755 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003371/1.349, allocations: 1.586 MB / 0.7771 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.637e-05/1.349, allocations: 304.8 kB / 0.7774 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007225/1.356, allocations: 4.076 MB / 0.7814 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008966/1.365, allocations: 7.843 MB / 0.789 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01638/1.382, allocations: 12.89 MB / 0.8016 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-05/1.382, allocations: 36 kB / 0.8016 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.03024/1.412, allocations: 14.72 MB / 0.816 GB, free: 92.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/1.412, allocations: 56 kB / 0.8161 GB, free: 92.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002308/1.412, allocations: 128 kB / 0.8162 GB, free: 92.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00888/1.421, allocations: 2.932 MB / 0.8191 GB, free: 89.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007415/1.429, allocations: 1.805 MB / 0.8208 GB, free: 87.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02156/1.45, allocations: 15.76 MB / 0.8362 GB, free: 71.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008976/1.459, allocations: 0.4914 MB / 0.8367 GB, free: 70.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002366/1.462, allocations: 435.9 kB / 0.8371 GB, free: 70.56 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.008677/1.47, allocations: 2.869 MB / 0.8399 GB, free: 67.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002418/1.473, allocations: 484.8 kB / 0.8404 GB, free: 67.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02285/1.495, allocations: 10.9 MB / 0.851 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001164/1.496, allocations: 60 kB / 0.8511 GB, free: 56.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.353e-05/1.496, allocations: 9.031 kB / 0.8511 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001202/1.496, allocations: 19.92 kB / 0.8511 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04399/1.54, allocations: 21.53 MB / 0.8721 GB, free: 34.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.462e-05/1.54, allocations: 12 kB / 0.8721 GB, free: 34.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003283/1.543, allocations: 0.6826 MB / 0.8728 GB, free: 33.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007358/1.55, allocations: 2.728 MB / 0.8755 GB, free: 31.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008332/1.551, allocations: 84.08 kB / 0.8756 GB, free: 30.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01595/1.567, allocations: 14.36 MB / 0.8896 GB, free: 16.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/1.567, allocations: 15.94 kB / 0.8896 GB, free: 16.33 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02168/1.589, allocations: 15.56 MB / 0.9048 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/1.591, allocations: 448.8 kB / 0.9052 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009232/1.592, allocations: 79.98 kB / 0.9053 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002897/1.594, allocations: 315 kB / 0.9056 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008229/1.595, allocations: 277.8 kB / 0.9059 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000329/1.596, allocations: 116 kB / 0.906 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004646/1.6, allocations: 2.685 MB / 0.9086 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.6, allocations: 3.938 kB / 0.9086 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008309/1.609, allocations: 1.68 MB / 0.9102 GB, free: 10.91 MB / 0.5762 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.0007994/1.609, allocations: 234 kB / 0.9105 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01707/1.626, allocations: 9.651 MB / 0.9199 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.866e-05/1.626, allocations: 4 kB / 0.9199 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007115/1.634, allocations: 4.068 MB / 0.9239 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004505/1.638, allocations: 0.7214 MB / 0.9246 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03167/1.67, allocations: 16.02 MB / 0.9402 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007045/1.677, allocations: 4.551 MB / 0.9446 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007465/1.684, allocations: 2.72 MB / 0.9473 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001681/1.686, allocations: 351.3 kB / 0.9476 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of SimCode: time 1.603e-06/1.686, allocations: 0 / 0.9476 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of Templates: time 0.4796/2.165, allocations: 75.1 MB / 1.021 GB, free: 171.7 MB / 0.6231 GB " [Timeout remaining time 658] 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: 9.376675476320088]