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.002379/0.002379, allocations: 87.67 kB / 20.21 MB, free: 4.215 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.002891/0.002891, allocations: 165.6 kB / 23.52 MB, free: 0.9023 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.473/1.473, allocations: 158.6 MB / 185.3 MB, free: 2.879 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.2227/0.2227, allocations: 32.37 MB / 270 MB, free: 14.76 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 1.923e-06/1.923e-06, allocations: 0 / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.322e-05, allocations: 6.25 kB / 347 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01254/0.01257, allocations: 12.79 MB / 359.7 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01245/0.02502, allocations: 4.74 MB / 364.5 MB, free: 8.184 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002827/0.02785, allocations: 99.56 kB / 364.6 MB, free: 8.086 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009773/0.03762, allocations: 4.279 MB / 368.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007967/0.04559, allocations: 2.36 MB / 371.2 MB, free: 1.418 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003709/0.0493, allocations: 1.314 MB / 372.5 MB, free: 104 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01118/0.06047, allocations: 6.236 MB / 378.8 MB, free: 9.859 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008342/0.06882, allocations: 4.697 MB / 383.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007075/0.07589, allocations: 3.364 MB / 386.8 MB, free: 1.719 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007166/0.08306, allocations: 3.32 MB / 390.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002425/0.08548, allocations: 0.5156 MB / 390.7 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004596/0.09008, allocations: 1.599 MB / 392.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004804/0.09488, allocations: 2.891 MB / 395.2 MB, free: 9.375 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00437/0.09925, allocations: 1.815 MB / 397 MB, free: 7.555 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0169/0.1162, allocations: 10.18 MB / 407.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1162, allocations: 0 / 407.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1162, allocations: 0 / 407.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004349/0.1166, allocations: 0 / 407.1 MB, free: 13.34 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.02462/0.1412, allocations: 7.712 MB / 414.9 MB, free: 5.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.1413, allocations: 12.03 kB / 414.9 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02161/0.1629, allocations: 3.352 MB / 418.2 MB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/0.1749, allocations: 3.383 MB / 421.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006114/0.1755, allocations: 372.1 kB / 422 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002536/0.1781, allocations: 436.3 kB / 422.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03205/0.2101, allocations: 9.132 MB / 431.5 MB, free: 3.633 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003794/0.2105, allocations: 51.58 kB / 431.6 MB, free: 3.582 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00217/0.2127, allocations: 199.8 kB / 431.8 MB, free: 3.387 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005543/0.2182, allocations: 2.406 MB / 434.2 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02319/0.2414, allocations: 5.179 MB / 439.4 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2489/0.4903, allocations: 63.56 MB / 0.4911 GB, free: 50.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/0.501, allocations: 2.745 MB / 0.4938 GB, free: 49.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002157/0.5032, allocations: 1.009 MB / 0.4948 GB, free: 48.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01698/0.5202, allocations: 7.471 MB / 0.5021 GB, free: 40.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.5202, allocations: 66.25 kB / 0.5022 GB, free: 40.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=197): time 5.421e-06/0.5202, allocations: 0 / 0.5022 GB, free: 40.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=248): time 0.1171/0.6373, allocations: 31.75 MB / 0.5332 GB, free: 9.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/0.6374, allocations: 231.6 kB / 0.5334 GB, free: 9.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006608/0.644, allocations: 5.265 MB / 0.5385 GB, free: 4.039 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007183/0.6448, allocations: 65.7 kB / 0.5386 GB, free: 3.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002413/0.6472, allocations: 4.43 MB / 0.5429 GB, free: 15.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001969/0.6491, allocations: 1.072 MB / 0.544 GB, free: 14.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00334/0.6525, allocations: 1.869 MB / 0.5458 GB, free: 12.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005203/0.653, allocations: 476.8 kB / 0.5462 GB, free: 12.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00338/0.6564, allocations: 1.272 MB / 0.5475 GB, free: 10.99 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01073/0.6671, allocations: 7.854 MB / 0.5552 GB, free: 256 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01766/0.6848, allocations: 10.15 MB / 0.5651 GB, free: 3.246 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002558/0.685, allocations: 40 kB / 0.5651 GB, free: 3.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.03194/0.717, allocations: 9.399 MB / 0.5743 GB, free: 9.797 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002801/0.7172, allocations: 75.94 kB / 0.5744 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003623/0.7176, allocations: 151.9 kB / 0.5745 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01406/0.7317, allocations: 2.901 MB / 0.5773 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006377/0.738, allocations: 1.626 MB / 0.5789 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/0.7599, allocations: 7.52 MB / 0.5863 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0066/0.7665, allocations: 0.4993 MB / 0.5868 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001694/0.7682, allocations: 432 kB / 0.5872 GB, free: 12.48 MB / 442.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.003748/0.7719, allocations: 0.8555 MB / 0.588 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/0.7734, allocations: 477.3 kB / 0.5885 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01765/0.7911, allocations: 4.907 MB / 0.5932 GB, free: 6.207 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-05/0.7911, allocations: 28 kB / 0.5933 GB, free: 6.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.674e-05/0.7912, allocations: 12 kB / 0.5933 GB, free: 6.168 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.682e-05/0.7912, allocations: 11.95 kB / 0.5933 GB, free: 6.156 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2357/1.027, allocations: 12.87 MB / 0.6059 GB, free: 138.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.243e-05/1.027, allocations: 7.875 kB / 0.6059 GB, free: 138.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/1.029, allocations: 399.9 kB / 0.6062 GB, free: 138.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01215/1.041, allocations: 2.968 MB / 0.6091 GB, free: 138.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006144/1.042, allocations: 40.25 kB / 0.6092 GB, free: 138.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01435/1.056, allocations: 6.293 MB / 0.6153 GB, free: 137.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.056, allocations: 3.688 kB / 0.6153 GB, free: 137.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01809/1.074, allocations: 6.837 MB / 0.622 GB, free: 135.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003425/1.078, allocations: 0.8435 MB / 0.6228 GB, free: 135.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00121/1.079, allocations: 37.91 kB / 0.6229 GB, free: 135.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003195/1.082, allocations: 258.5 kB / 0.6231 GB, free: 135.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007295/1.083, allocations: 165.5 kB / 0.6233 GB, free: 135.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002409/1.083, allocations: 58.91 kB / 0.6233 GB, free: 135.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003915/1.087, allocations: 2.17 MB / 0.6255 GB, free: 134.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.087, allocations: 0 / 0.6255 GB, free: 134.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008317/1.095, allocations: 1.611 MB / 0.627 GB, free: 133.3 MB / 442.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.0009568/1.096, allocations: 244.3 kB / 0.6273 GB, free: 133.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01096/1.107, allocations: 5.067 MB / 0.6322 GB, free: 128.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.107, allocations: 7.969 kB / 0.6322 GB, free: 128.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003397/1.111, allocations: 1.73 MB / 0.6339 GB, free: 126.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005128/1.116, allocations: 0.4901 MB / 0.6344 GB, free: 125.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/1.136, allocations: 10.4 MB / 0.6445 GB, free: 115.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004038/1.141, allocations: 3.269 MB / 0.6477 GB, free: 112.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004069/1.145, allocations: 1.809 MB / 0.6495 GB, free: 110.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009118/1.146, allocations: 268.5 kB / 0.6498 GB, free: 110.1 MB / 442.7 MB Notification: Performance of SimCode: time 2.083e-06/1.146, allocations: 0 / 0.6498 GB, free: 110.1 MB / 442.7 MB Notification: Performance of Templates: time 0.08993/1.235, allocations: 60.61 MB / 0.7089 GB, free: 49.45 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=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","/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.039546592975967]