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.001447/0.001447, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.001464/0.001464, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 0.9701/0.9701, allocations: 177.1 MB / 205 MB, free: 5.629 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.2429/0.2429, allocations: 32.82 MB / 294.3 MB, free: 1.27 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.613e-06/1.613e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.141e-05, allocations: 6.312 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01082/0.01084, allocations: 12.81 MB / 388.8 MB, free: 7.762 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007803/0.01864, allocations: 4.774 MB / 393.6 MB, free: 2.973 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.01993, allocations: 95.56 kB / 393.7 MB, free: 2.879 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004494/0.02443, allocations: 4.283 MB / 398 MB, free: 14.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003672/0.0281, allocations: 2.317 MB / 400.3 MB, free: 12.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.02982, allocations: 1.31 MB / 401.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005349/0.03517, allocations: 6.549 MB / 408.2 MB, free: 4.383 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004105/0.03927, allocations: 4.666 MB / 412.8 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003357/0.04263, allocations: 3.337 MB / 416.2 MB, free: 12.3 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003197/0.04583, allocations: 3.317 MB / 419.5 MB, free: 8.977 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007382/0.04657, allocations: 0.5078 MB / 420 MB, free: 8.469 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.04853, allocations: 1.592 MB / 421.6 MB, free: 6.875 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001781/0.05031, allocations: 2.852 MB / 424.4 MB, free: 4.016 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001607/0.05192, allocations: 1.807 MB / 426.2 MB, free: 2.203 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005687/0.05761, allocations: 6.338 MB / 432.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.05761, allocations: 0 / 432.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.05761, allocations: 0 / 432.6 MB, free: 11.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.375e-05/0.05767, allocations: 0 / 432.6 MB, free: 11.84 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.007475/0.06514, allocations: 7.064 MB / 439.6 MB, free: 4.699 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.06518, allocations: 8.031 kB / 439.7 MB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00879/0.07398, allocations: 3.348 MB / 443 MB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1692/0.2432, allocations: 3.293 MB / 446.3 MB, free: 94.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.2434, allocations: 373.2 kB / 446.7 MB, free: 94.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005679/0.2439, allocations: 429.1 kB / 447.1 MB, free: 94.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.254, allocations: 8.511 MB / 455.6 MB, free: 90.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.2541, allocations: 45.73 kB / 455.6 MB, free: 90.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003508/0.2545, allocations: 201.2 kB / 455.8 MB, free: 90.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001899/0.2564, allocations: 2.417 MB / 458.2 MB, free: 90.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008546/0.2649, allocations: 4.771 MB / 463 MB, free: 89.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03037/0.2953, allocations: 54.41 MB / 0.5053 GB, free: 45.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006195/0.3015, allocations: 2.677 MB / 0.5079 GB, free: 45.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/0.3026, allocations: 0.9766 MB / 0.5089 GB, free: 45.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008449/0.3111, allocations: 7.303 MB / 0.516 GB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.3111, allocations: 59.59 kB / 0.5161 GB, free: 41.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=197): time 3.677e-06/0.3111, allocations: 0 / 0.5161 GB, free: 41.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=248): time 0.0629/0.374, allocations: 31.34 MB / 0.5467 GB, free: 12.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/0.3741, allocations: 231.6 kB / 0.5469 GB, free: 12.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003651/0.3778, allocations: 4.079 MB / 0.5509 GB, free: 7.969 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001773/0.3779, allocations: 68.44 kB / 0.5509 GB, free: 7.898 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001317/0.3793, allocations: 4.163 MB / 0.555 GB, free: 3.762 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005767/0.3798, allocations: 1.001 MB / 0.556 GB, free: 2.773 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/0.3811, allocations: 1.576 MB / 0.5575 GB, free: 1.191 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.71e-05/0.3812, allocations: 476.8 kB / 0.558 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.3829, allocations: 1.17 MB / 0.5591 GB, free: 15.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00545/0.3884, allocations: 7.5 MB / 0.5664 GB, free: 5.176 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008231/0.3966, allocations: 9.495 MB / 0.5757 GB, free: 8.855 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.451e-05/0.3967, allocations: 47.61 kB / 0.5758 GB, free: 8.812 MB / 442.7 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01469/0.4114, allocations: 9.161 MB / 0.5847 GB, free: 15.63 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.23e-05/0.4114, allocations: 68 kB / 0.5848 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/0.4115, allocations: 148 kB / 0.5849 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006783/0.4183, allocations: 2.863 MB / 0.5877 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002983/0.4213, allocations: 1.626 MB / 0.5893 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.4321, allocations: 6.985 MB / 0.5961 GB, free: 3.832 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003544/0.4357, allocations: 499.4 kB / 0.5966 GB, free: 3.344 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004527/0.4361, allocations: 436 kB / 0.597 GB, free: 2.918 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * 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 (880): * Single equations (assignments): 876 * 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 {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001631/0.4378, allocations: 0.7522 MB / 0.5977 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006201/0.4384, allocations: 477.3 kB / 0.5982 GB, free: 1.688 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1726/0.611, allocations: 4.767 MB / 0.6028 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.132e-05/0.611, allocations: 28.09 kB / 0.6029 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/0.611, allocations: 11.34 kB / 0.6029 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-05/0.6111, allocations: 15.5 kB / 0.6029 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01811/0.6292, allocations: 11.37 MB / 0.614 GB, free: 120.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.6292, allocations: 7.188 kB / 0.614 GB, free: 120.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009885/0.6302, allocations: 393.1 kB / 0.6144 GB, free: 120.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006379/0.6366, allocations: 2.936 MB / 0.6173 GB, free: 120.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001664/0.6367, allocations: 41.45 kB / 0.6173 GB, free: 120.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00842/0.6451, allocations: 5.838 MB / 0.623 GB, free: 118.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6451, allocations: 0 / 0.623 GB, free: 118.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/0.656, allocations: 6.558 MB / 0.6294 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007883/0.6568, allocations: 391.7 kB / 0.6298 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003631/0.6572, allocations: 40.69 kB / 0.6298 GB, free: 117 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/0.6586, allocations: 252.5 kB / 0.63 GB, free: 116.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004084/0.6591, allocations: 153.4 kB / 0.6302 GB, free: 116.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/0.6592, allocations: 64.25 kB / 0.6303 GB, free: 116.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002576/0.6618, allocations: 1.765 MB / 0.632 GB, free: 116.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6618, allocations: 0 / 0.632 GB, free: 116.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004697/0.6665, allocations: 1.576 MB / 0.6335 GB, free: 116.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (173): * Single equations (assignments): 169 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004934/0.667, allocations: 239.2 kB / 0.6337 GB, free: 116 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005692/0.6727, allocations: 4.644 MB / 0.6383 GB, free: 114.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6727, allocations: 3.5 kB / 0.6383 GB, free: 114.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.6743, allocations: 1.602 MB / 0.6398 GB, free: 114.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.6758, allocations: 485.8 kB / 0.6403 GB, free: 114.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.6862, allocations: 10.22 MB / 0.6503 GB, free: 109.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.6873, allocations: 1.65 MB / 0.6519 GB, free: 108.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002341/0.6897, allocations: 1.805 MB / 0.6537 GB, free: 108.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005487/0.6902, allocations: 279.1 kB / 0.6539 GB, free: 107.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6902, allocations: 0 / 0.6539 GB, free: 107.9 MB / 458.7 MB Notification: Performance of Templates: time 0.06062/0.7509, allocations: 59.96 MB / 0.7125 GB, free: 49.48 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: 5.025409829802811]