Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.001844/0.001844, allocations: 110.8 kB / 21.19 MB, free: 0.6602 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.001856/0.001856, allocations: 206.8 kB / 24.49 MB, free: 3.957 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.575/1.575, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2497/0.2497, allocations: 46.96 MB / 361.6 MB, free: 4.039 MB / 286.1 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.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 63.91 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3535, allocations: 66.03 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01164/0.3651, allocations: 8.369 MB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008554/0.3737, allocations: 3.624 MB / 0.5735 GB, free: 8.105 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.3751, allocations: 67.62 kB / 0.5736 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004402/0.3795, allocations: 2.223 MB / 0.5758 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.3837, allocations: 1.661 MB / 0.5774 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.3852, allocations: 0.6979 MB / 0.5781 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005346/0.3906, allocations: 3.802 MB / 0.5818 GB, free: 15.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002924/0.3935, allocations: 2.316 MB / 0.5841 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.3956, allocations: 1.312 MB / 0.5853 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003045/0.3986, allocations: 1.865 MB / 0.5872 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007832/0.3994, allocations: 280 kB / 0.5874 GB, free: 9.801 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/0.4016, allocations: 1.069 MB / 0.5885 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001827/0.4034, allocations: 1.62 MB / 0.59 GB, free: 7.105 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001728/0.4052, allocations: 1.363 MB / 0.5914 GB, free: 5.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009012/0.4142, allocations: 6.256 MB / 0.5975 GB, free: 15.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.4142, allocations: 0 / 0.5975 GB, free: 15.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4142, allocations: 0 / 0.5975 GB, free: 15.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002457/0.4144, allocations: 0 / 0.5975 GB, free: 15.46 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1276 * Number of variables: 1276 Notification: Performance of Generate backend data structure: time 0.01052/0.4249, allocations: 4.186 MB / 0.6016 GB, free: 11.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.425, allocations: 8.031 kB / 0.6016 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00836/0.4333, allocations: 2.019 MB / 0.6036 GB, free: 9.184 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007906/0.4413, allocations: 2.275 MB / 0.6058 GB, free: 6.875 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002691/0.4415, allocations: 193.3 kB / 0.606 GB, free: 6.684 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/0.4428, allocations: 264 kB / 0.6062 GB, free: 6.426 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01656/0.4593, allocations: 8.609 MB / 0.6146 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/0.4595, allocations: 43.64 kB / 0.6147 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003803/0.4598, allocations: 123.9 kB / 0.6148 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003302/0.4631, allocations: 1.739 MB / 0.6165 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.4781, allocations: 7.545 MB / 0.6238 GB, free: 3.734 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04737/0.5255, allocations: 31.99 MB / 0.6551 GB, free: 2.793 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00704/0.5325, allocations: 2.52 MB / 0.6576 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002563/0.5351, allocations: 1.755 MB / 0.6593 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/0.5354, allocations: 96.45 kB / 0.6594 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/0.5354, allocations: 55.14 kB / 0.6594 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.468e-06/0.5355, allocations: 0 / 0.6594 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.04106/0.5765, allocations: 15.31 MB / 0.6744 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.5766, allocations: 175.2 kB / 0.6745 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004977/0.5816, allocations: 3.267 MB / 0.6777 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004574/0.582, allocations: 49.64 kB / 0.6778 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002286/0.5843, allocations: 2.774 MB / 0.6805 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008195/0.5852, allocations: 0.6358 MB / 0.6811 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001636/0.5868, allocations: 1.107 MB / 0.6822 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5869, allocations: 309.1 kB / 0.6825 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0032/0.5901, allocations: 2.119 MB / 0.6845 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006267/0.5964, allocations: 5.362 MB / 0.6898 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/0.6074, allocations: 8.035 MB / 0.6976 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001363/0.6076, allocations: 36 kB / 0.6977 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01701/0.6246, allocations: 8.248 MB / 0.7057 GB, free: 11.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-05/0.6247, allocations: 52 kB / 0.7058 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001333/0.6248, allocations: 120.4 kB / 0.7059 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003227/0.628, allocations: 1.214 MB / 0.7071 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004218/0.6322, allocations: 1.213 MB / 0.7082 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.6427, allocations: 7.395 MB / 0.7155 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003744/0.6465, allocations: 323.5 kB / 0.7158 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006347/0.6471, allocations: 327.9 kB / 0.7161 GB, free: 0.7734 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.twoHeadedArrow,torque.arrow.headAtOrigin,universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.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 (649): * Single equations (assignments): 645 * 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,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002933/0.65, allocations: 1.845 MB / 0.7179 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005857/0.6506, allocations: 282.1 kB / 0.7182 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006722/0.6573, allocations: 3.53 MB / 0.7216 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-05/0.6574, allocations: 7.969 kB / 0.7216 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.6574, allocations: 0 / 0.7216 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000777/0.6582, allocations: 254 kB / 0.7219 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003971/0.6586, allocations: 27.94 kB / 0.7219 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.6597, allocations: 111.8 kB / 0.722 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/0.66, allocations: 108.7 kB / 0.7221 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00749/0.6675, allocations: 4.117 MB / 0.7261 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007284/0.6748, allocations: 5.306 MB / 0.7313 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.3172/0.9919, allocations: 1.292 MB / 0.7326 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003869/0.9958, allocations: 1.883 MB / 0.7344 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of Backend: time 3.71e-07/0.9958, allocations: 0 / 0.7344 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008829/1.005, allocations: 3.908 MB / 0.7382 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01196/1.017, allocations: 8.11 MB / 0.7461 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.06492/1.082, allocations: 47.53 MB / 0.7926 GB, free: 105.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.255370311999286]