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.001019/0.001019, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009985/0.0009985, allocations: 165.6 kB / 24.99 MB, free: 8.336 MB / 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.9638/0.9638, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2852/0.2852, allocations: 34.26 MB / 296 MB, free: 0.7695 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 2.094e-06/2.094e-06, allocations: 0 / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.174e-05, allocations: 9.906 kB / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01193/0.01196, allocations: 12.77 MB / 390.8 MB, free: 6.129 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007066/0.01903, allocations: 4.755 MB / 395.5 MB, free: 1.359 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009306/0.01996, allocations: 99.5 kB / 395.6 MB, free: 1.262 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003709/0.02367, allocations: 4.264 MB / 399.9 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003252/0.02692, allocations: 2.325 MB / 402.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.0287, allocations: 1.306 MB / 403.5 MB, free: 9.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005447/0.03415, allocations: 6.549 MB / 410.1 MB, free: 2.781 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004031/0.03818, allocations: 4.666 MB / 414.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003396/0.04158, allocations: 3.329 MB / 418.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003178/0.04475, allocations: 3.32 MB / 421.4 MB, free: 7.379 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007866/0.04554, allocations: 0.5078 MB / 421.9 MB, free: 6.871 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.04754, allocations: 1.603 MB / 423.5 MB, free: 5.266 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001782/0.04932, allocations: 2.852 MB / 426.4 MB, free: 2.406 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001594/0.05092, allocations: 1.796 MB / 428.2 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005915/0.05683, allocations: 6.338 MB / 434.5 MB, free: 10.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.05684, allocations: 3.984 kB / 434.5 MB, free: 10.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.05684, allocations: 0 / 434.5 MB, free: 10.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.373e-05/0.05692, allocations: 4 kB / 434.5 MB, free: 10.24 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.007789/0.0647, allocations: 7.053 MB / 441.6 MB, free: 3.105 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.06474, allocations: 12.03 kB / 441.6 MB, free: 3.094 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1902/0.2549, allocations: 3.346 MB / 444.9 MB, free: 99.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005973/0.2609, allocations: 3.302 MB / 448.2 MB, free: 98.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.2611, allocations: 373.5 kB / 448.6 MB, free: 98.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007616/0.2619, allocations: 433.6 kB / 449 MB, free: 98.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01259/0.2745, allocations: 8.502 MB / 457.5 MB, free: 93.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/0.2746, allocations: 53.64 kB / 457.6 MB, free: 93.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004184/0.275, allocations: 199 kB / 457.8 MB, free: 93.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002489/0.2775, allocations: 2.413 MB / 460.2 MB, free: 93.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.2885, allocations: 4.77 MB / 464.9 MB, free: 92.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03137/0.3199, allocations: 54.41 MB / 0.5072 GB, free: 48.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006373/0.3263, allocations: 2.687 MB / 0.5098 GB, free: 48.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.3275, allocations: 0.9746 MB / 0.5108 GB, free: 48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008016/0.3356, allocations: 7.31 MB / 0.5179 GB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3356, allocations: 66.58 kB / 0.518 GB, free: 41.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=197): time 3.246e-06/0.3356, allocations: 0 / 0.518 GB, free: 41.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=248): time 0.06254/0.3981, allocations: 31.31 MB / 0.5485 GB, free: 11.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.3982, allocations: 239.6 kB / 0.5488 GB, free: 10.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003325/0.4015, allocations: 4.08 MB / 0.5527 GB, free: 6.781 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001513/0.4017, allocations: 61.7 kB / 0.5528 GB, free: 6.715 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.4029, allocations: 4.172 MB / 0.5569 GB, free: 2.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005231/0.4035, allocations: 0.9964 MB / 0.5579 GB, free: 1.496 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/0.4047, allocations: 1.568 MB / 0.5594 GB, free: 15.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4048, allocations: 480.8 kB / 0.5598 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.4066, allocations: 1.166 MB / 0.561 GB, free: 14.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004621/0.4112, allocations: 7.506 MB / 0.5683 GB, free: 3.883 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007769/0.419, allocations: 9.499 MB / 0.5776 GB, free: 7.516 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.767e-05/0.419, allocations: 44 kB / 0.5776 GB, free: 7.473 MB / 442.7 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01605/0.4351, allocations: 9.169 MB / 0.5866 GB, free: 14.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/0.4352, allocations: 72 kB / 0.5867 GB, free: 14.22 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/0.4353, allocations: 148 kB / 0.5868 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006453/0.4417, allocations: 2.867 MB / 0.5896 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003111/0.4448, allocations: 1.63 MB / 0.5912 GB, free: 9.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/0.4552, allocations: 6.968 MB / 0.598 GB, free: 2.477 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003659/0.4589, allocations: 495.4 kB / 0.5985 GB, free: 1.992 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004422/0.4593, allocations: 436 kB / 0.5989 GB, free: 1.566 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.001545/0.4608, allocations: 0.7468 MB / 0.5996 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005789/0.4614, allocations: 481.2 kB / 0.6001 GB, free: 340 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1812/0.6426, allocations: 4.771 MB / 0.6047 GB, free: 125.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-05/0.6426, allocations: 28.31 kB / 0.6048 GB, free: 125.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.6426, allocations: 11.25 kB / 0.6048 GB, free: 125.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.6427, allocations: 13.34 kB / 0.6048 GB, free: 125.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01762/0.6603, allocations: 11.37 MB / 0.6159 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.6603, allocations: 3.938 kB / 0.6159 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.6613, allocations: 403.2 kB / 0.6163 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00642/0.6677, allocations: 2.926 MB / 0.6191 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001689/0.6679, allocations: 44.41 kB / 0.6192 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008548/0.6764, allocations: 5.834 MB / 0.6249 GB, free: 121.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6764, allocations: 3.188 kB / 0.6249 GB, free: 121.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01349/0.6899, allocations: 6.558 MB / 0.6313 GB, free: 119.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.691, allocations: 389.5 kB / 0.6316 GB, free: 119.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000521/0.6915, allocations: 43.09 kB / 0.6317 GB, free: 119.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/0.6932, allocations: 253.5 kB / 0.6319 GB, free: 119.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005751/0.6938, allocations: 153.5 kB / 0.6321 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/0.694, allocations: 67.3 kB / 0.6321 GB, free: 119.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002782/0.6968, allocations: 1.764 MB / 0.6339 GB, free: 119.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6968, allocations: 2.938 kB / 0.6339 GB, free: 119.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005647/0.7024, allocations: 1.571 MB / 0.6354 GB, free: 119 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.0005586/0.703, allocations: 237.1 kB / 0.6356 GB, free: 118.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006846/0.7098, allocations: 4.649 MB / 0.6402 GB, free: 117.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7098, allocations: 0 / 0.6402 GB, free: 117.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002055/0.7119, allocations: 1.607 MB / 0.6417 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.7139, allocations: 481.6 kB / 0.6422 GB, free: 116.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/0.7268, allocations: 10.22 MB / 0.6522 GB, free: 110.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/0.7282, allocations: 1.646 MB / 0.6538 GB, free: 109.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003249/0.7315, allocations: 1.812 MB / 0.6556 GB, free: 107.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006442/0.7321, allocations: 272.5 kB / 0.6558 GB, free: 107.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.253e-06/0.7321, allocations: 0 / 0.6558 GB, free: 107.4 MB / 458.7 MB Notification: Performance of Templates: time 0.06204/0.7942, allocations: 59.95 MB / 0.7144 GB, free: 47.93 MB / 458.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: 4.916970309102908]