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.002394/0.002394, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002202/0.002202, allocations: 165.3 kB / 24.28 MB, free: 152 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 1.566/1.566, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3741/0.3741, allocations: 32.8 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] 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 2.024e-06/2.024e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.87e-05, allocations: 2.312 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01841/0.01844, allocations: 12.73 MB / 388 MB, free: 8.184 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.02981, allocations: 4.747 MB / 392.8 MB, free: 3.422 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.03188, allocations: 99.56 kB / 392.9 MB, free: 3.324 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009595/0.04147, allocations: 4.26 MB / 397.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006791/0.04826, allocations: 2.321 MB / 399.4 MB, free: 12.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003276/0.05154, allocations: 1.314 MB / 400.7 MB, free: 11.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01094/0.06248, allocations: 6.541 MB / 407.3 MB, free: 4.852 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008261/0.07074, allocations: 4.686 MB / 412 MB, free: 96 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007881/0.07862, allocations: 3.329 MB / 415.3 MB, free: 12.76 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00691/0.08553, allocations: 3.305 MB / 418.6 MB, free: 9.445 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002444/0.08797, allocations: 0.5078 MB / 419.1 MB, free: 8.938 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004289/0.09226, allocations: 1.595 MB / 420.7 MB, free: 7.34 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004458/0.09672, allocations: 2.86 MB / 423.6 MB, free: 4.473 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004074/0.1008, allocations: 1.796 MB / 425.4 MB, free: 2.672 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01536/0.1162, allocations: 10.12 MB / 435.5 MB, free: 8.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1162, allocations: 0 / 435.5 MB, free: 8.523 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1162, allocations: 0 / 435.5 MB, free: 8.523 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003712/0.1165, allocations: 0 / 435.5 MB, free: 8.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.02179/0.1383, allocations: 7.67 MB / 443.2 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.1384, allocations: 12.03 kB / 443.2 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1996/0.338, allocations: 3.34 MB / 446.5 MB, free: 98.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009232/0.3472, allocations: 3.336 MB / 449.8 MB, free: 97.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003342/0.3475, allocations: 372 kB / 450.2 MB, free: 97.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001665/0.3492, allocations: 433.7 kB / 450.6 MB, free: 97.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02034/0.3695, allocations: 9.146 MB / 459.8 MB, free: 92.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/0.3697, allocations: 46.92 kB / 459.8 MB, free: 92.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006168/0.3703, allocations: 200.6 kB / 460 MB, free: 92.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003142/0.3734, allocations: 2.415 MB / 462.4 MB, free: 91.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.3897, allocations: 5.18 MB / 467.6 MB, free: 91.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09347/0.4832, allocations: 63.54 MB / 0.5187 GB, free: 37.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/0.494, allocations: 2.762 MB / 0.5214 GB, free: 35.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002196/0.4962, allocations: 1.007 MB / 0.5224 GB, free: 34.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01587/0.5121, allocations: 7.456 MB / 0.5297 GB, free: 27.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.5121, allocations: 66.64 kB / 0.5297 GB, free: 27.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=197): time 5.47e-06/0.5121, allocations: 0 / 0.5297 GB, free: 27.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=248): time 0.1195/0.6316, allocations: 31.69 MB / 0.5607 GB, free: 11.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001976/0.6318, allocations: 239.5 kB / 0.5609 GB, free: 11.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009622/0.6415, allocations: 5.295 MB / 0.5661 GB, free: 5.844 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007216/0.6422, allocations: 61.7 kB / 0.5661 GB, free: 5.777 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004922/0.6471, allocations: 4.422 MB / 0.5705 GB, free: 1.309 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002097/0.6492, allocations: 1.067 MB / 0.5715 GB, free: 240 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004359/0.6536, allocations: 1.873 MB / 0.5733 GB, free: 14.35 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003127/0.6539, allocations: 480.8 kB / 0.5738 GB, free: 13.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003481/0.6573, allocations: 1.272 MB / 0.575 GB, free: 12.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01088/0.6682, allocations: 7.85 MB / 0.5827 GB, free: 1.871 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01703/0.6853, allocations: 10.14 MB / 0.5926 GB, free: 4.863 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002328/0.6855, allocations: 47.88 kB / 0.5926 GB, free: 4.816 MB / 458.7 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.2286/0.9141, allocations: 9.388 MB / 0.6018 GB, free: 118.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.9142, allocations: 67.94 kB / 0.6019 GB, free: 118.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000157/0.9144, allocations: 149.2 kB / 0.602 GB, free: 118.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/0.9261, allocations: 2.907 MB / 0.6049 GB, free: 118.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005016/0.9312, allocations: 1.632 MB / 0.6064 GB, free: 118.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/0.9472, allocations: 7.52 MB / 0.6138 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006497/0.9537, allocations: 492.3 kB / 0.6143 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009706/0.9546, allocations: 431.7 kB / 0.6147 GB, free: 116.1 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.002594/0.9572, allocations: 0.8574 MB / 0.6155 GB, free: 115.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/0.9583, allocations: 475.3 kB / 0.616 GB, free: 115.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/0.9731, allocations: 4.898 MB / 0.6207 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.453e-05/0.9731, allocations: 27.69 kB / 0.6208 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.95e-05/0.9731, allocations: 10.5 kB / 0.6208 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.482e-05/0.9732, allocations: 15.67 kB / 0.6208 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03421/1.007, allocations: 12.9 MB / 0.6334 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.64e-05/1.007, allocations: 0.8438 kB / 0.6334 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002235/1.01, allocations: 400.3 kB / 0.6338 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0127/1.022, allocations: 2.975 MB / 0.6367 GB, free: 112.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005564/1.023, allocations: 45.27 kB / 0.6367 GB, free: 112.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01459/1.038, allocations: 6.297 MB / 0.6429 GB, free: 108.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.038, allocations: 7.875 kB / 0.6429 GB, free: 108.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01809/1.056, allocations: 6.838 MB / 0.6496 GB, free: 105.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.057, allocations: 394.1 kB / 0.6499 GB, free: 105.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006798/1.058, allocations: 48.59 kB / 0.65 GB, free: 105.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002433/1.06, allocations: 249.2 kB / 0.6502 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006463/1.061, allocations: 151.2 kB / 0.6504 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/1.061, allocations: 67.47 kB / 0.6504 GB, free: 105.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003515/1.064, allocations: 2.134 MB / 0.6525 GB, free: 104.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/1.064, allocations: 4.031 kB / 0.6525 GB, free: 104.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0072/1.072, allocations: 1.569 MB / 0.654 GB, free: 102.9 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.0007754/1.072, allocations: 236 kB / 0.6543 GB, free: 102.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008935/1.081, allocations: 5.068 MB / 0.6592 GB, free: 97.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.081, allocations: 4 kB / 0.6592 GB, free: 97.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002869/1.084, allocations: 1.733 MB / 0.6609 GB, free: 95.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/1.087, allocations: 498 kB / 0.6614 GB, free: 95.42 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/1.104, allocations: 10.36 MB / 0.6715 GB, free: 84.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003669/1.108, allocations: 3.254 MB / 0.6747 GB, free: 81.72 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003813/1.112, allocations: 1.808 MB / 0.6765 GB, free: 79.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008482/1.113, allocations: 272.4 kB / 0.6767 GB, free: 79.64 MB / 458.7 MB Notification: Performance of SimCode: time 1.413e-06/1.113, allocations: 0 / 0.6767 GB, free: 79.64 MB / 458.7 MB Notification: Performance of Templates: time 0.08512/1.198, allocations: 59.91 MB / 0.7352 GB, free: 20.16 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 7.965734440018423]