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.0009851/0.0009851, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001019/0.001019, allocations: 161 kB / 24.56 MB, free: 16 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.637 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.2492/0.2492, allocations: 34.25 MB / 295.7 MB, free: 0.7461 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 1.824e-06/1.824e-06, allocations: 3.938 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.015e-05, allocations: 2.312 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01072/0.01075, allocations: 12.81 MB / 390.9 MB, free: 5.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008588/0.01934, allocations: 4.77 MB / 395.6 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.02152, allocations: 99.56 kB / 395.7 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004825/0.02634, allocations: 4.272 MB / 400 MB, free: 12.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004981/0.03132, allocations: 2.321 MB / 402.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.03338, allocations: 1.31 MB / 403.6 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007477/0.04085, allocations: 6.545 MB / 410.2 MB, free: 2.402 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006998/0.04785, allocations: 4.674 MB / 414.8 MB, free: 13.66 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005268/0.05312, allocations: 3.333 MB / 418.2 MB, free: 10.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004182/0.0573, allocations: 3.309 MB / 421.5 MB, free: 7 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.05862, allocations: 0.5078 MB / 422 MB, free: 6.492 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.06106, allocations: 1.607 MB / 423.6 MB, free: 4.883 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00208/0.06314, allocations: 2.856 MB / 426.5 MB, free: 2.02 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002373/0.06551, allocations: 1.792 MB / 428.3 MB, free: 228 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006468/0.07198, allocations: 6.346 MB / 434.6 MB, free: 9.852 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.07198, allocations: 0 / 434.6 MB, free: 9.852 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.07198, allocations: 0 / 434.6 MB, free: 9.852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002537/0.07224, allocations: 4 kB / 434.6 MB, free: 9.848 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.009803/0.08204, allocations: 7.053 MB / 441.7 MB, free: 2.715 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.0821, allocations: 8.031 kB / 441.7 MB, free: 2.707 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1936/0.2757, allocations: 3.351 MB / 445 MB, free: 76.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006029/0.2817, allocations: 3.299 MB / 448.3 MB, free: 76.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/0.282, allocations: 370.7 kB / 448.7 MB, free: 76.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007482/0.2827, allocations: 426.6 kB / 449.1 MB, free: 76.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01314/0.2959, allocations: 8.509 MB / 457.6 MB, free: 73.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001728/0.296, allocations: 56.8 kB / 457.7 MB, free: 73.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000395/0.2964, allocations: 197.6 kB / 457.8 MB, free: 73.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002039/0.2985, allocations: 2.405 MB / 460.3 MB, free: 73.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.3095, allocations: 4.78 MB / 465 MB, free: 73.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04416/0.3536, allocations: 54.41 MB / 0.5073 GB, free: 30.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007366/0.361, allocations: 2.691 MB / 0.5099 GB, free: 29.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.3628, allocations: 0.9686 MB / 0.5108 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.373, allocations: 7.311 MB / 0.518 GB, free: 25.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.373, allocations: 54.2 kB / 0.518 GB, free: 25.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=197): time 4.207e-06/0.373, allocations: 3.875 kB / 0.518 GB, free: 25.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=248): time 0.0674/0.4404, allocations: 31.32 MB / 0.5486 GB, free: 15.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.4405, allocations: 239.4 kB / 0.5489 GB, free: 15.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005573/0.4461, allocations: 4.077 MB / 0.5528 GB, free: 10.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004841/0.4466, allocations: 61.7 kB / 0.5529 GB, free: 10.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002406/0.449, allocations: 4.17 MB / 0.557 GB, free: 6.719 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001243/0.4502, allocations: 1.005 MB / 0.5579 GB, free: 5.727 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001781/0.452, allocations: 1.574 MB / 0.5595 GB, free: 4.145 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4521, allocations: 480.8 kB / 0.5599 GB, free: 3.672 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/0.454, allocations: 1.166 MB / 0.5611 GB, free: 2.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004947/0.459, allocations: 7.499 MB / 0.5684 GB, free: 8.188 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009438/0.4684, allocations: 9.501 MB / 0.5777 GB, free: 12.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001785/0.4686, allocations: 43.94 kB / 0.5777 GB, free: 11.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01873/0.4873, allocations: 9.162 MB / 0.5867 GB, free: 2.801 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.4874, allocations: 70.03 kB / 0.5867 GB, free: 2.734 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001632/0.4876, allocations: 148 kB / 0.5869 GB, free: 2.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007368/0.495, allocations: 2.863 MB / 0.5897 GB, free: 15.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004083/0.499, allocations: 1.63 MB / 0.5913 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.511, allocations: 6.969 MB / 0.5981 GB, free: 7.008 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004825/0.5159, allocations: 0.4915 MB / 0.5986 GB, free: 6.516 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001315/0.5172, allocations: 435.8 kB / 0.599 GB, free: 6.094 MB / 474.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.002462/0.5196, allocations: 0.7496 MB / 0.5997 GB, free: 5.332 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009392/0.5206, allocations: 481.2 kB / 0.6002 GB, free: 4.859 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/0.5309, allocations: 4.766 MB / 0.6048 GB, free: 68 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-05/0.5309, allocations: 28 kB / 0.6048 GB, free: 40 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-05/0.531, allocations: 12 kB / 0.6049 GB, free: 28 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-05/0.531, allocations: 11.95 kB / 0.6049 GB, free: 16 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.198/0.729, allocations: 11.37 MB / 0.616 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.529e-05/0.729, allocations: 3.625 kB / 0.616 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.7304, allocations: 398.2 kB / 0.6164 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006957/0.7373, allocations: 2.934 MB / 0.6192 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004711/0.7378, allocations: 44.31 kB / 0.6193 GB, free: 132.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009153/0.747, allocations: 5.837 MB / 0.625 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.747, allocations: 3.312 kB / 0.625 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/0.7581, allocations: 6.555 MB / 0.6314 GB, free: 129.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.7592, allocations: 385.6 kB / 0.6317 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003897/0.7595, allocations: 42.86 kB / 0.6318 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.7609, allocations: 251.7 kB / 0.632 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004714/0.7614, allocations: 161.2 kB / 0.6322 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/0.7615, allocations: 63.45 kB / 0.6322 GB, free: 129.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002376/0.7639, allocations: 1.766 MB / 0.634 GB, free: 128.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7639, allocations: 0 / 0.634 GB, free: 128.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004944/0.7688, allocations: 1.57 MB / 0.6355 GB, free: 128.7 MB / 474.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.0006323/0.7695, allocations: 231.3 kB / 0.6357 GB, free: 128.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007697/0.7772, allocations: 4.646 MB / 0.6402 GB, free: 127.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.7772, allocations: 1.188 kB / 0.6402 GB, free: 127.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002632/0.7798, allocations: 1.605 MB / 0.6418 GB, free: 127 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.7821, allocations: 490 kB / 0.6423 GB, free: 126.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.7967, allocations: 10.23 MB / 0.6523 GB, free: 122 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/0.7984, allocations: 1.648 MB / 0.6539 GB, free: 121.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002985/0.8014, allocations: 1.799 MB / 0.6556 GB, free: 121.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006812/0.802, allocations: 273.8 kB / 0.6559 GB, free: 121.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.883e-06/0.802, allocations: 4 kB / 0.6559 GB, free: 121.3 MB / 474.7 MB Notification: Performance of Templates: time 0.06919/0.8712, allocations: 59.96 MB / 0.7145 GB, free: 65.33 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.079155205748975]