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.001524/0.001524, allocations: 84.23 kB / 20.21 MB, free: 4.227 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.001707/0.001707, allocations: 157.6 kB / 23.52 MB, free: 0.918 MB / 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.428/1.428, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] 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.2485/0.2485, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.014e-06/2.014e-06, allocations: 0 / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.783e-05, allocations: 2.312 kB / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01547/0.0155, allocations: 11.65 MB / 358.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01274/0.02824, allocations: 4.623 MB / 363.2 MB, free: 9.445 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.03053, allocations: 95.56 kB / 363.3 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008535/0.03907, allocations: 4.151 MB / 367.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006923/0.04599, allocations: 2.372 MB / 369.8 MB, free: 2.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003399/0.04939, allocations: 1.31 MB / 371.1 MB, free: 1.488 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01007/0.05946, allocations: 6.242 MB / 377.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007898/0.06735, allocations: 4.685 MB / 382.1 MB, free: 6.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007221/0.07458, allocations: 3.333 MB / 385.4 MB, free: 3.141 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006443/0.08102, allocations: 3.238 MB / 388.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001779/0.0828, allocations: 0.5117 MB / 389.2 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003774/0.08657, allocations: 1.607 MB / 390.8 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004369/0.09094, allocations: 2.871 MB / 393.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00351/0.09445, allocations: 1.811 MB / 395.4 MB, free: 9.078 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01417/0.1086, allocations: 10.19 MB / 405.6 MB, free: 14.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1086, allocations: 0 / 405.6 MB, free: 14.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1086, allocations: 0 / 405.6 MB, free: 14.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002704/0.1089, allocations: 0 / 405.6 MB, free: 14.86 MB / 346.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.01696/0.1259, allocations: 6.683 MB / 412.3 MB, free: 8.105 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1259, allocations: 8.031 kB / 412.3 MB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01935/0.1452, allocations: 3.422 MB / 415.7 MB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.1555, allocations: 3.696 MB / 419.4 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006876/0.1562, allocations: 376.1 kB / 419.8 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003024/0.1592, allocations: 428.3 kB / 420.2 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03195/0.1911, allocations: 14.03 MB / 434.3 MB, free: 1.211 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001681/0.1913, allocations: 55.56 kB / 434.3 MB, free: 1.156 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006654/0.192, allocations: 199.8 kB / 434.5 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004466/0.1964, allocations: 2.414 MB / 436.9 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02721/0.2236, allocations: 11.81 MB / 448.7 MB, free: 2.715 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2027/0.4263, allocations: 48.54 MB / 497.3 MB, free: 62.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01156/0.4379, allocations: 4.274 MB / 0.4898 GB, free: 58.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003289/0.4412, allocations: 2.802 MB / 0.4925 GB, free: 55.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01608/0.4573, allocations: 10.51 MB / 0.5028 GB, free: 44.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.522e-05/0.4573, allocations: 62.69 kB / 0.5029 GB, free: 44.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=200): time 5.32e-06/0.4573, allocations: 3.938 kB / 0.5029 GB, free: 44.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=252): time 0.1571/0.6144, allocations: 51.3 MB / 0.553 GB, free: 9.855 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001901/0.6146, allocations: 235.6 kB / 0.5532 GB, free: 9.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008302/0.6229, allocations: 4.714 MB / 0.5578 GB, free: 5.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007753/0.6237, allocations: 61.7 kB / 0.5578 GB, free: 4.953 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005072/0.6288, allocations: 3.97 MB / 0.5617 GB, free: 1.152 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002244/0.631, allocations: 0.9758 MB / 0.5627 GB, free: 196 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002746/0.6338, allocations: 1.486 MB / 0.5641 GB, free: 14.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.634, allocations: 309.1 kB / 0.5644 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006741/0.6407, allocations: 3.657 MB / 0.568 GB, free: 10.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01263/0.6533, allocations: 7.931 MB / 0.5757 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02081/0.6742, allocations: 12.27 MB / 0.5877 GB, free: 2.383 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001878/0.6743, allocations: 44 kB / 0.5878 GB, free: 2.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=958) (initialization): time 0.04177/0.7161, allocations: 15.81 MB / 0.6032 GB, free: 2.508 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.7162, allocations: 71.98 kB / 0.6033 GB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002163/0.7165, allocations: 148.9 kB / 0.6034 GB, free: 2.293 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1968/0.9132, allocations: 5.402 MB / 0.6087 GB, free: 147.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006698/0.9199, allocations: 1.643 MB / 0.6103 GB, free: 147.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02833/0.9483, allocations: 21.41 MB / 0.6312 GB, free: 140.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007307/0.9556, allocations: 0.5465 MB / 0.6317 GB, free: 139.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001401/0.957, allocations: 439.7 kB / 0.6321 GB, free: 139.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * 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 (876): * Single equations (assignments): 872 * 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 {(3,56,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004735/0.9617, allocations: 2.652 MB / 0.6347 GB, free: 137 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001602/0.9633, allocations: 485.4 kB / 0.6352 GB, free: 136.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01945/0.9828, allocations: 9.692 MB / 0.6447 GB, free: 127.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.063e-05/0.9829, allocations: 28 kB / 0.6447 GB, free: 127 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.533e-05/0.9829, allocations: 12 kB / 0.6447 GB, free: 127 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-05/0.9829, allocations: 11.95 kB / 0.6447 GB, free: 127 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0347/1.018, allocations: 17.99 MB / 0.6623 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-05/1.018, allocations: 4 kB / 0.6623 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002246/1.02, allocations: 431.1 kB / 0.6627 GB, free: 108.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01565/1.036, allocations: 5.422 MB / 0.668 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008409/1.036, allocations: 43.98 kB / 0.668 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0252/1.062, allocations: 19.85 MB / 0.6874 GB, free: 83.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/1.062, allocations: 11.92 kB / 0.6874 GB, free: 83.42 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02514/1.087, allocations: 14.74 MB / 0.7018 GB, free: 68.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003134/1.09, allocations: 0.9466 MB / 0.7027 GB, free: 68.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001166/1.091, allocations: 51.92 kB / 0.7028 GB, free: 67.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003377/1.094, allocations: 303.5 kB / 0.7031 GB, free: 67.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007702/1.095, allocations: 170.1 kB / 0.7032 GB, free: 67.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002365/1.095, allocations: 63.94 kB / 0.7033 GB, free: 67.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003856/1.099, allocations: 2.788 MB / 0.706 GB, free: 64.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/1.099, allocations: 5.703 kB / 0.706 GB, free: 64.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008779/1.108, allocations: 1.637 MB / 0.7076 GB, free: 63.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (178): * Single equations (assignments): 174 * 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,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00109/1.109, allocations: 247.4 kB / 0.7079 GB, free: 62.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01227/1.121, allocations: 8.346 MB / 0.716 GB, free: 54.47 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/1.121, allocations: 4 kB / 0.716 GB, free: 54.47 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004297/1.126, allocations: 3.099 MB / 0.7191 GB, free: 51.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003804/1.13, allocations: 499 kB / 0.7195 GB, free: 50.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02402/1.154, allocations: 13.53 MB / 0.7327 GB, free: 37.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004577/1.158, allocations: 3.605 MB / 0.7363 GB, free: 33.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004967/1.163, allocations: 2.14 MB / 0.7384 GB, free: 31.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/1.164, allocations: 280.4 kB / 0.7386 GB, free: 31.22 MB / 442.7 MB Notification: Performance of SimCode: time 2.565e-06/1.164, allocations: 0 / 0.7386 GB, free: 31.22 MB / 442.7 MB Notification: Performance of Templates: time 0.263/1.427, allocations: 63.84 MB / 0.801 GB, free: 122.9 MB / 442.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.191464237985201]