Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.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.001437/0.001437, allocations: 77.88 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.001677/0.001677, allocations: 169.4 kB / 24.82 MB, free: 9.262 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.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2828/0.2828, allocations: 32.81 MB / 294.6 MB, free: 1.234 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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.681e-05, allocations: 2.312 kB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01473/0.01475, allocations: 12.5 MB / 389 MB, free: 7.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.02619, allocations: 4.72 MB / 393.7 MB, free: 3.086 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003295/0.02949, allocations: 103.5 kB / 393.8 MB, free: 2.984 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007356/0.03684, allocations: 4.201 MB / 398 MB, free: 14.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007623/0.04447, allocations: 2.333 MB / 400.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003677/0.04814, allocations: 1.314 MB / 401.7 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01114/0.05928, allocations: 6.542 MB / 408.2 MB, free: 4.559 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008331/0.06761, allocations: 4.682 MB / 412.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009947/0.07756, allocations: 3.942 MB / 416.8 MB, free: 11.86 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006724/0.08428, allocations: 3.25 MB / 420.1 MB, free: 8.598 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001844/0.08612, allocations: 0.5 MB / 420.6 MB, free: 8.098 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00462/0.09074, allocations: 1.591 MB / 422.2 MB, free: 6.504 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004023/0.09477, allocations: 2.84 MB / 425 MB, free: 3.656 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004838/0.09961, allocations: 1.78 MB / 426.8 MB, free: 1.871 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.1135, allocations: 6.314 MB / 433.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.1135, allocations: 0 / 433.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1135, allocations: 0 / 433.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000318/0.1138, allocations: 0 / 433.1 MB, free: 11.53 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01357/0.1274, allocations: 6.708 MB / 439.8 MB, free: 4.742 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.1274, allocations: 8.031 kB / 439.8 MB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.1384, allocations: 2.346 MB / 442.2 MB, free: 2.383 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2125/0.3509, allocations: 2.77 MB / 444.9 MB, free: 93.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004817/0.3514, allocations: 371.5 kB / 445.3 MB, free: 93.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001622/0.353, allocations: 429.5 kB / 445.7 MB, free: 93.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/0.3676, allocations: 7.425 MB / 453.1 MB, free: 90.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001775/0.3678, allocations: 56.17 kB / 453.2 MB, free: 90.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004586/0.3683, allocations: 198.6 kB / 453.4 MB, free: 90.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002122/0.3704, allocations: 2.179 MB / 455.6 MB, free: 90.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00905/0.3794, allocations: 3.449 MB / 459 MB, free: 90.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04029/0.4197, allocations: 54.14 MB / 0.5011 GB, free: 46.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006465/0.4262, allocations: 2.257 MB / 0.5033 GB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.4279, allocations: 0.6818 MB / 0.504 GB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01143/0.4393, allocations: 5.803 MB / 0.5097 GB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/0.4394, allocations: 57.48 kB / 0.5097 GB, free: 43.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=178): time 5.58e-06/0.4394, allocations: 0 / 0.5097 GB, free: 43.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.0345/0.4739, allocations: 12.17 MB / 0.5216 GB, free: 37.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.474, allocations: 239.2 kB / 0.5218 GB, free: 36.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/0.4773, allocations: 4.157 MB / 0.5259 GB, free: 33.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.4775, allocations: 57.7 kB / 0.526 GB, free: 33.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001438/0.4789, allocations: 4.3 MB / 0.5301 GB, free: 29.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000507/0.4794, allocations: 0.9343 MB / 0.5311 GB, free: 28.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/0.4805, allocations: 1.599 MB / 0.5326 GB, free: 26.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.101e-05/0.4806, allocations: 476.8 kB / 0.5331 GB, free: 26.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00099/0.4815, allocations: 0.7287 MB / 0.5338 GB, free: 25.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002647/0.4842, allocations: 7.329 MB / 0.5409 GB, free: 15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005088/0.4893, allocations: 8.765 MB / 0.5495 GB, free: 3.305 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/0.4894, allocations: 48 kB / 0.5496 GB, free: 3.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.008556/0.498, allocations: 6.122 MB / 0.5555 GB, free: 13.13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.378e-05/0.498, allocations: 72 kB / 0.5556 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001723/0.4982, allocations: 156 kB / 0.5557 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.4998, allocations: 0.6831 MB / 0.5564 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003371/0.5032, allocations: 1.622 MB / 0.558 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004607/0.5078, allocations: 3.881 MB / 0.5618 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004295/0.5121, allocations: 315.7 kB / 0.5621 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007603/0.5129, allocations: 384 kB / 0.5625 GB, free: 5.914 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 707 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (905): * Single equations (assignments): 901 * Array equations: 3 * 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,31,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001801/0.5147, allocations: 0.7583 MB / 0.5632 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007347/0.5154, allocations: 469.3 kB / 0.5636 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003051/0.5184, allocations: 1.661 MB / 0.5653 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/0.5185, allocations: 31.98 kB / 0.5653 GB, free: 2.961 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.5185, allocations: 4 kB / 0.5653 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.5185, allocations: 11.97 kB / 0.5653 GB, free: 2.945 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.5294, allocations: 6.747 MB / 0.5719 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/0.5294, allocations: 12 kB / 0.5719 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008024/0.5302, allocations: 303.6 kB / 0.5722 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.5315, allocations: 487.1 kB / 0.5727 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/0.5316, allocations: 47.98 kB / 0.5727 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/0.5345, allocations: 2.93 MB / 0.5756 GB, free: 8.137 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.5345, allocations: 11.94 kB / 0.5756 GB, free: 8.125 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003985/0.5385, allocations: 3.024 MB / 0.5785 GB, free: 4.977 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008257/0.5394, allocations: 381.1 kB / 0.5789 GB, free: 4.602 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002924/0.5397, allocations: 44.03 kB / 0.5789 GB, free: 4.559 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007464/0.5404, allocations: 47.98 kB / 0.579 GB, free: 4.512 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002269/0.5406, allocations: 152.8 kB / 0.5791 GB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.793e-05/0.5407, allocations: 55.98 kB / 0.5792 GB, free: 4.305 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001895/0.5426, allocations: 1.673 MB / 0.5808 GB, free: 2.625 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.5426, allocations: 0 / 0.5808 GB, free: 2.625 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004303/0.5469, allocations: 1.324 MB / 0.5821 GB, free: 1.305 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (179): * Single equations (assignments): 175 * Array equations: 3 * 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,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004547/0.5474, allocations: 254.6 kB / 0.5824 GB, free: 1.047 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004338/0.5517, allocations: 3.434 MB / 0.5857 GB, free: 13.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.5517, allocations: 4 kB / 0.5857 GB, free: 13.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009601/0.5527, allocations: 0.909 MB / 0.5866 GB, free: 12.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.5547, allocations: 0.4897 MB / 0.5871 GB, free: 12.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/0.5699, allocations: 9.684 MB / 0.5965 GB, free: 2.328 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00203/0.572, allocations: 1.628 MB / 0.5981 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002031/0.574, allocations: 0.5962 MB / 0.5987 GB, free: 76 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1549/0.7289, allocations: 0.6869 MB / 0.5994 GB, free: 121.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.413e-06/0.7289, allocations: 3.312 kB / 0.5994 GB, free: 121.7 MB / 458.7 MB Notification: Performance of Templates: time 0.06412/0.793, allocations: 41.57 MB / 0.64 GB, free: 112.8 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.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.907016315031797]