Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001242/0.001242, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001448/0.001448, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.045/1.045, allocations: 158.6 MB / 186 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1548/0.1548, allocations: 32.37 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.521e-05, allocations: 6.25 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.009606/0.009632, allocations: 12.56 MB / 360.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009713/0.01934, allocations: 4.709 MB / 365.4 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002225/0.02157, allocations: 99.5 kB / 365.5 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004402/0.02597, allocations: 4.225 MB / 369.7 MB, free: 3.484 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005181/0.03115, allocations: 2.364 MB / 372.1 MB, free: 1.105 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002721/0.03387, allocations: 1.325 MB / 373.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00884/0.04271, allocations: 6.238 MB / 379.7 MB, free: 9.531 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006344/0.04906, allocations: 4.693 MB / 384.4 MB, free: 4.766 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006285/0.05534, allocations: 3.789 MB / 388.1 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004482/0.05982, allocations: 3.27 MB / 391.4 MB, free: 13.69 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001626/0.06145, allocations: 0.5 MB / 391.9 MB, free: 13.19 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/0.06435, allocations: 1.607 MB / 393.5 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002556/0.06691, allocations: 2.864 MB / 396.4 MB, free: 8.707 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002865/0.06978, allocations: 1.799 MB / 398.2 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008253/0.07803, allocations: 6.384 MB / 404.6 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.07804, allocations: 4 kB / 404.6 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.07804, allocations: 0 / 404.6 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000373/0.07841, allocations: 0 / 404.6 MB, free: 0.4922 MB / 330.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.01999/0.0984, allocations: 6.732 MB / 411.3 MB, free: 9.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.656e-05/0.09847, allocations: 12.03 kB / 411.3 MB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.1095, allocations: 2.346 MB / 413.7 MB, free: 7.312 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005726/0.1152, allocations: 2.82 MB / 416.5 MB, free: 4.441 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000297/0.1155, allocations: 372.1 kB / 416.8 MB, free: 4.062 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000701/0.1162, allocations: 432.2 kB / 417.3 MB, free: 3.641 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.1269, allocations: 7.426 MB / 424.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.644e-05/0.127, allocations: 47.58 kB / 424.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003228/0.1273, allocations: 195.8 kB / 424.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001783/0.1291, allocations: 2.18 MB / 427.1 MB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00657/0.1357, allocations: 3.446 MB / 430.6 MB, free: 5.148 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2314/0.3671, allocations: 54.15 MB / 484.7 MB, free: 54.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005927/0.373, allocations: 2.264 MB / 487 MB, free: 53.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.3741, allocations: 0.6852 MB / 487.7 MB, free: 53.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008631/0.3827, allocations: 5.802 MB / 493.5 MB, free: 52.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.3828, allocations: 57.7 kB / 493.5 MB, free: 52.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=178): time 5.991e-06/0.3828, allocations: 3.031 kB / 493.5 MB, free: 52.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=226): time 0.03078/0.4136, allocations: 12.23 MB / 0.4939 GB, free: 45.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.4136, allocations: 235.4 kB / 0.4941 GB, free: 44.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003626/0.4172, allocations: 4.194 MB / 0.4982 GB, free: 41.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002812/0.4175, allocations: 57.7 kB / 0.4983 GB, free: 41.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001487/0.419, allocations: 4.293 MB / 0.5025 GB, free: 37.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006693/0.4197, allocations: 0.9266 MB / 0.5034 GB, free: 36.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.4208, allocations: 1.606 MB / 0.5049 GB, free: 34.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.183e-05/0.4209, allocations: 480.8 kB / 0.5054 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.4219, allocations: 0.7297 MB / 0.5061 GB, free: 33.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002809/0.4247, allocations: 7.334 MB / 0.5133 GB, free: 23.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005611/0.4304, allocations: 8.763 MB / 0.5218 GB, free: 11.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002084/0.4306, allocations: 44 kB / 0.5219 GB, free: 11.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.009625/0.4402, allocations: 6.123 MB / 0.5278 GB, free: 5.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.84e-05/0.4403, allocations: 72 kB / 0.5279 GB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001291/0.4404, allocations: 156 kB / 0.5281 GB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.4419, allocations: 0.6933 MB / 0.5287 GB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/0.4449, allocations: 1.622 MB / 0.5303 GB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003811/0.4487, allocations: 3.884 MB / 0.5341 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004898/0.4536, allocations: 315.7 kB / 0.5344 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005727/0.4542, allocations: 380 kB / 0.5348 GB, free: 14.44 MB / 394.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.001944/0.4561, allocations: 0.7506 MB / 0.5355 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005478/0.4567, allocations: 473.2 kB / 0.536 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.4592, allocations: 1.68 MB / 0.5376 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.4592, allocations: 24 kB / 0.5376 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.4592, allocations: 8 kB / 0.5376 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.4592, allocations: 11.95 kB / 0.5376 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009706/0.4689, allocations: 6.764 MB / 0.5443 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.4689, allocations: 4 kB / 0.5443 GB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007545/0.4697, allocations: 307.5 kB / 0.5446 GB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.4709, allocations: 495 kB / 0.545 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.384e-05/0.4709, allocations: 40 kB / 0.5451 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002958/0.4739, allocations: 2.93 MB / 0.5479 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.4739, allocations: 11.94 kB / 0.5479 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003495/0.4774, allocations: 3.029 MB / 0.5509 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008547/0.4783, allocations: 0.5673 MB / 0.5514 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/0.4785, allocations: 47.98 kB / 0.5515 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007331/0.4792, allocations: 43.98 kB / 0.5515 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002427/0.4795, allocations: 156.9 kB / 0.5517 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-05/0.4796, allocations: 48 kB / 0.5517 GB, free: 12.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001736/0.4813, allocations: 1.697 MB / 0.5534 GB, free: 10.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4813, allocations: 0 / 0.5534 GB, free: 10.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004482/0.4858, allocations: 1.359 MB / 0.5547 GB, free: 9.57 MB / 410.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.0004689/0.4862, allocations: 255.6 kB / 0.555 GB, free: 9.312 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003935/0.4902, allocations: 3.447 MB / 0.5583 GB, free: 5.875 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4902, allocations: 0 / 0.5583 GB, free: 5.875 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009496/0.4911, allocations: 0.9109 MB / 0.5592 GB, free: 4.945 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.4926, allocations: 0.4947 MB / 0.5597 GB, free: 4.461 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.5038, allocations: 9.712 MB / 0.5692 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/0.5052, allocations: 1.633 MB / 0.5708 GB, free: 8.895 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001496/0.5067, allocations: 0.5923 MB / 0.5714 GB, free: 8.297 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009618/0.5077, allocations: 0.6894 MB / 0.572 GB, free: 7.605 MB / 426.7 MB Notification: Performance of SimCode: time 1.542e-06/0.5077, allocations: 0 / 0.572 GB, free: 7.605 MB / 426.7 MB Notification: Performance of Templates: time 0.2064/0.7141, allocations: 42.31 MB / 0.6133 GB, free: 158.6 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.905535734724253]