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.001726/0.001726, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001849/0.001849, allocations: 207.5 kB / 23.73 MB, free: 4.379 MB / 14.72 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.578/1.578, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.2403/0.2403, allocations: 46.96 MB / 360.9 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002143/0.002143, allocations: 63.91 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3409, allocations: 66.04 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01578/0.3567, allocations: 11.58 MB / 0.5724 GB, free: 8.535 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.3682, allocations: 4.627 MB / 0.5769 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002581/0.3708, allocations: 95.56 kB / 0.577 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008335/0.3792, allocations: 3.867 MB / 0.5808 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006727/0.3859, allocations: 2.249 MB / 0.583 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003269/0.3892, allocations: 1.178 MB / 0.5841 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009325/0.3985, allocations: 5.822 MB / 0.5898 GB, free: 6.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007082/0.4056, allocations: 4.047 MB / 0.5938 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004532/0.4101, allocations: 2.2 MB / 0.5959 GB, free: 344 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005788/0.4159, allocations: 3.19 MB / 0.599 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002094/0.418, allocations: 0.5039 MB / 0.5995 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004131/0.4221, allocations: 1.549 MB / 0.601 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004188/0.4263, allocations: 2.715 MB / 0.6037 GB, free: 8.359 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004173/0.4305, allocations: 2.237 MB / 0.6059 GB, free: 6.109 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01566/0.4461, allocations: 9.966 MB / 0.6156 GB, free: 12.1 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4461, allocations: 0 / 0.6156 GB, free: 12.1 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.4461, allocations: 4 kB / 0.6156 GB, free: 12.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003077/0.4464, allocations: 0 / 0.6156 GB, free: 12.09 MB / 462.1 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.01683/0.4633, allocations: 6.59 MB / 0.622 GB, free: 5.438 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.4633, allocations: 8.031 kB / 0.6221 GB, free: 5.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01747/0.4808, allocations: 2.747 MB / 0.6247 GB, free: 2.676 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/0.4909, allocations: 3.583 MB / 0.6282 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004812/0.4914, allocations: 387.7 kB / 0.6286 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001959/0.4934, allocations: 427.8 kB / 0.629 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03014/0.5235, allocations: 13.96 MB / 0.6426 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002252/0.5237, allocations: 59.5 kB / 0.6427 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007101/0.5244, allocations: 199.8 kB / 0.6429 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003933/0.5284, allocations: 2.406 MB / 0.6452 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02598/0.5544, allocations: 11.75 MB / 0.6567 GB, free: 0.9609 MB / 494.1 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.07462/0.629, allocations: 47.6 MB / 0.7032 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01378/0.6428, allocations: 4.109 MB / 0.7072 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00559/0.6484, allocations: 2.761 MB / 0.7099 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02286/0.6712, allocations: 10.17 MB / 0.7198 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.029e-05/0.6713, allocations: 63.81 kB / 0.7199 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=197): time 6.031e-06/0.6713, allocations: 0 / 0.7199 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=248): time 0.4475/1.119, allocations: 43.3 MB / 0.7622 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/1.119, allocations: 241.2 kB / 0.7624 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004593/1.123, allocations: 4.495 MB / 0.7668 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005041/1.124, allocations: 61.7 kB / 0.7669 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001697/1.126, allocations: 4.027 MB / 0.7708 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000959/1.127, allocations: 0.9789 MB / 0.7717 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001753/1.128, allocations: 1.508 MB / 0.7732 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.341e-05/1.128, allocations: 301.1 kB / 0.7735 GB, free: 130 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003874/1.132, allocations: 3.442 MB / 0.7769 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005324/1.138, allocations: 7.741 MB / 0.7844 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/1.148, allocations: 11.87 MB / 0.796 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001065/1.148, allocations: 44 kB / 0.7961 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.02569/1.174, allocations: 14.38 MB / 0.8101 GB, free: 88.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.205e-05/1.174, allocations: 71.98 kB / 0.8102 GB, free: 88.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001393/1.174, allocations: 148 kB / 0.8103 GB, free: 88.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01108/1.185, allocations: 4.024 MB / 0.8142 GB, free: 84.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005272/1.19, allocations: 1.626 MB / 0.8158 GB, free: 82.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02326/1.214, allocations: 19.51 MB / 0.8349 GB, free: 62.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006536/1.22, allocations: 459.2 kB / 0.8353 GB, free: 62.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001211/1.221, allocations: 440 kB / 0.8357 GB, free: 61.95 MB / 0.5606 GB 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.004163/1.226, allocations: 2.656 MB / 0.8383 GB, free: 59.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008665/1.226, allocations: 417.2 kB / 0.8387 GB, free: 58.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/1.243, allocations: 8.558 MB / 0.8471 GB, free: 50.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.739e-05/1.243, allocations: 31.94 kB / 0.8471 GB, free: 50.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/1.243, allocations: 12 kB / 0.8471 GB, free: 50.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-05/1.243, allocations: 11.95 kB / 0.8471 GB, free: 50.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02953/1.273, allocations: 16.14 MB / 0.8629 GB, free: 34.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/1.273, allocations: 7.938 kB / 0.8629 GB, free: 34.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/1.275, allocations: 403.4 kB / 0.8633 GB, free: 33.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01118/1.286, allocations: 4.071 MB / 0.8673 GB, free: 29.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004035/1.286, allocations: 40 kB / 0.8673 GB, free: 29.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02141/1.308, allocations: 17.9 MB / 0.8848 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.308, allocations: 0 / 0.8848 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02245/1.33, allocations: 13.19 MB / 0.8977 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/1.331, allocations: 365.2 kB / 0.898 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006871/1.332, allocations: 36 kB / 0.898 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002335/1.334, allocations: 215.7 kB / 0.8983 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006841/1.335, allocations: 162 kB / 0.8984 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002381/1.335, allocations: 60 kB / 0.8985 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004512/1.34, allocations: 2.613 MB / 0.901 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.34, allocations: 0 / 0.901 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008452/1.348, allocations: 1.457 MB / 0.9024 GB, free: 9.457 MB / 0.5762 GB 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.0007562/1.349, allocations: 218.3 kB / 0.9026 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01449/1.363, allocations: 7.903 MB / 0.9104 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.363, allocations: 0 / 0.9104 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005191/1.369, allocations: 2.867 MB / 0.9132 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003098/1.372, allocations: 459.1 kB / 0.9136 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02979/1.401, allocations: 13.11 MB / 0.9264 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006617/1.408, allocations: 3.579 MB / 0.9299 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005622/1.414, allocations: 2.129 MB / 0.932 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/1.415, allocations: 267.4 kB / 0.9322 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of SimCode: time 2.044e-06/1.415, allocations: 3.938 kB / 0.9322 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of Templates: time 0.407/1.822, allocations: 66.28 MB / 0.997 GB, free: 210.1 MB / 0.6387 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 8.703144671861082]