Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001114/0.001114, allocations: 77.97 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.00123/0.00123, allocations: 167.5 kB / 24.82 MB, free: 9.266 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.105/1.105, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.3262/0.3262, allocations: 34.27 MB / 296.1 MB, free: 0.7188 MB / 266.7 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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.65e-05/4.886e-05, allocations: 5.125 kB / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01436/0.01441, allocations: 12.49 MB / 391 MB, free: 5.832 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.02679, allocations: 4.731 MB / 395.7 MB, free: 1.086 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00389/0.03068, allocations: 95.56 kB / 395.8 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006781/0.03746, allocations: 4.209 MB / 400 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009091/0.04655, allocations: 2.337 MB / 402.4 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003767/0.05032, allocations: 1.31 MB / 403.7 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009402/0.05972, allocations: 6.554 MB / 410.2 MB, free: 2.547 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007139/0.06686, allocations: 4.674 MB / 414.9 MB, free: 13.8 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01005/0.07691, allocations: 3.938 MB / 418.8 MB, free: 9.855 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006233/0.08315, allocations: 3.246 MB / 422.1 MB, free: 6.602 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002316/0.08546, allocations: 0.5 MB / 422.6 MB, free: 6.102 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00417/0.08963, allocations: 1.603 MB / 424.2 MB, free: 4.496 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004022/0.09365, allocations: 2.84 MB / 427 MB, free: 1.648 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0046/0.09825, allocations: 1.78 MB / 428.8 MB, free: 15.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01206/0.1103, allocations: 6.318 MB / 435.1 MB, free: 9.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.1103, allocations: 0 / 435.1 MB, free: 9.523 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1103, allocations: 0 / 435.1 MB, free: 9.523 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000513/0.1108, allocations: 0 / 435.1 MB, free: 9.523 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.01513/0.126, allocations: 6.689 MB / 441.8 MB, free: 2.754 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.372e-05/0.126, allocations: 12.03 kB / 441.8 MB, free: 2.742 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009739/0.1358, allocations: 2.35 MB / 444.2 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2669/0.4027, allocations: 2.769 MB / 447 MB, free: 92.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005052/0.4032, allocations: 374.8 kB / 447.3 MB, free: 92.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002459/0.4056, allocations: 430.9 kB / 447.7 MB, free: 92.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01748/0.4231, allocations: 7.415 MB / 455.2 MB, free: 89.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003564/0.4235, allocations: 52.12 kB / 455.2 MB, free: 89.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009409/0.4244, allocations: 205.5 kB / 455.4 MB, free: 89.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002411/0.4268, allocations: 2.175 MB / 457.6 MB, free: 88.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01167/0.4385, allocations: 3.455 MB / 461 MB, free: 88.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05501/0.4935, allocations: 54.14 MB / 0.5031 GB, free: 44.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008532/0.502, allocations: 2.268 MB / 0.5053 GB, free: 44.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.5038, allocations: 0.6902 MB / 0.506 GB, free: 44.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01298/0.5167, allocations: 5.788 MB / 0.5116 GB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.924e-05/0.5168, allocations: 60.7 kB / 0.5117 GB, free: 41.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=178): time 6.593e-06/0.5168, allocations: 0 / 0.5117 GB, free: 41.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.04104/0.5578, allocations: 12.17 MB / 0.5236 GB, free: 33.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.4e-05/0.5579, allocations: 227.6 kB / 0.5238 GB, free: 33.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/0.562, allocations: 4.163 MB / 0.5279 GB, free: 29.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001957/0.5622, allocations: 61.73 kB / 0.5279 GB, free: 29.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001761/0.5639, allocations: 4.298 MB / 0.5321 GB, free: 25.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006723/0.5646, allocations: 0.9304 MB / 0.533 GB, free: 24.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/0.5658, allocations: 1.595 MB / 0.5346 GB, free: 22.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.831e-05/0.5658, allocations: 480.7 kB / 0.535 GB, free: 22.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.5669, allocations: 0.7363 MB / 0.5358 GB, free: 21.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003105/0.57, allocations: 7.334 MB / 0.5429 GB, free: 11.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006419/0.5764, allocations: 8.759 MB / 0.5515 GB, free: 15.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001698/0.5766, allocations: 47.94 kB / 0.5515 GB, free: 15.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.01315/0.5897, allocations: 6.125 MB / 0.5575 GB, free: 9.344 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.5898, allocations: 72 kB / 0.5576 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001783/0.59, allocations: 152 kB / 0.5577 GB, free: 9.125 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00182/0.5918, allocations: 0.6828 MB / 0.5584 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003998/0.5958, allocations: 1.626 MB / 0.56 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004699/0.6005, allocations: 3.874 MB / 0.5638 GB, free: 2.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005595/0.6061, allocations: 323.8 kB / 0.5641 GB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/0.6072, allocations: 380 kB / 0.5644 GB, free: 2.129 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.002761/0.6099, allocations: 0.7583 MB / 0.5652 GB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00113/0.6111, allocations: 473.3 kB / 0.5656 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003029/0.6141, allocations: 1.661 MB / 0.5672 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-05/0.6141, allocations: 24 kB / 0.5673 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.6141, allocations: 8 kB / 0.5673 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.6142, allocations: 11.97 kB / 0.5673 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/0.6294, allocations: 6.743 MB / 0.5739 GB, free: 8.238 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.142e-05/0.6294, allocations: 8.156 kB / 0.5739 GB, free: 8.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009644/0.6304, allocations: 311.5 kB / 0.5742 GB, free: 7.926 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001399/0.6318, allocations: 479 kB / 0.5746 GB, free: 7.453 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001947/0.632, allocations: 43.98 kB / 0.5747 GB, free: 7.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003814/0.6358, allocations: 2.938 MB / 0.5775 GB, free: 4.355 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.6358, allocations: 11.94 kB / 0.5776 GB, free: 4.344 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005011/0.6408, allocations: 3.024 MB / 0.5805 GB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001818/0.6426, allocations: 377.1 kB / 0.5809 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004941/0.6431, allocations: 51.92 kB / 0.5809 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008509/0.644, allocations: 48.03 kB / 0.581 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003211/0.6443, allocations: 152.9 kB / 0.5811 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.6444, allocations: 55.98 kB / 0.5812 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002748/0.6472, allocations: 1.677 MB / 0.5828 GB, free: 14.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6472, allocations: 3.719 kB / 0.5828 GB, free: 14.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008658/0.6558, allocations: 1.324 MB / 0.5841 GB, free: 13.52 MB / 458.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.0009815/0.6568, allocations: 234.7 kB / 0.5843 GB, free: 13.28 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007324/0.6641, allocations: 3.454 MB / 0.5877 GB, free: 9.836 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/0.6641, allocations: 0 / 0.5877 GB, free: 9.836 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.6655, allocations: 0.9122 MB / 0.5886 GB, free: 8.906 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/0.6685, allocations: 495.7 kB / 0.5891 GB, free: 8.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/0.6868, allocations: 9.676 MB / 0.5985 GB, free: 14.56 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003134/0.6899, allocations: 1.628 MB / 0.6001 GB, free: 12.91 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002342/0.6922, allocations: 0.5923 MB / 0.6007 GB, free: 12.31 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/0.6933, allocations: 0.6895 MB / 0.6013 GB, free: 11.62 MB / 474.7 MB Notification: Performance of SimCode: time 3.737e-06/0.6933, allocations: 0 / 0.6013 GB, free: 11.62 MB / 474.7 MB Notification: Performance of Templates: time 0.2839/0.9773, allocations: 41.57 MB / 0.6419 GB, free: 132.2 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 5.415591018740088]