Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001345, allocations: 212.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2291/0.2291, allocations: 46.88 MB / 361.1 MB, free: 4.648 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 83.86 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3727, allocations: 65.98 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01171/0.3844, allocations: 9.546 MB / 0.5705 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009223/0.3936, allocations: 3.853 MB / 0.5743 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/0.3955, allocations: 51.88 kB / 0.5743 GB, free: 7.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004923/0.4004, allocations: 2.317 MB / 0.5766 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00491/0.4053, allocations: 1.65 MB / 0.5782 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.4072, allocations: 0.6979 MB / 0.5789 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005926/0.4131, allocations: 3.794 MB / 0.5826 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00362/0.4167, allocations: 2.129 MB / 0.5847 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002552/0.4193, allocations: 1.304 MB / 0.586 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003248/0.4225, allocations: 1.857 MB / 0.5878 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008853/0.4234, allocations: 280 kB / 0.588 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.4262, allocations: 1.194 MB / 0.5892 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002403/0.4286, allocations: 1.617 MB / 0.5908 GB, free: 6.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003349/0.4319, allocations: 1.856 MB / 0.5926 GB, free: 4.742 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007817/0.4398, allocations: 6.238 MB / 0.5987 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4398, allocations: 0 / 0.5987 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4398, allocations: 4 kB / 0.5987 GB, free: 14.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001413/0.4399, allocations: 0 / 0.5987 GB, free: 14.48 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.008886/0.4488, allocations: 4.254 MB / 0.6028 GB, free: 10.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.4488, allocations: 12.03 kB / 0.6029 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008154/0.457, allocations: 2.022 MB / 0.6048 GB, free: 8.109 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005916/0.4629, allocations: 2.339 MB / 0.6071 GB, free: 5.723 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.4631, allocations: 193.3 kB / 0.6073 GB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006227/0.4637, allocations: 260 kB / 0.6075 GB, free: 5.277 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01554/0.4792, allocations: 8.588 MB / 0.6159 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.4793, allocations: 39.64 kB / 0.616 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003731/0.4797, allocations: 127.9 kB / 0.6161 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003178/0.4829, allocations: 1.743 MB / 0.6178 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.4973, allocations: 7.557 MB / 0.6252 GB, free: 2.59 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04483/0.5421, allocations: 34.22 MB / 0.6586 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006986/0.5491, allocations: 2.974 MB / 0.6615 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002403/0.5515, allocations: 1.758 MB / 0.6632 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004185/0.5519, allocations: 327.8 kB / 0.6635 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/0.552, allocations: 55.2 kB / 0.6636 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.178e-06/0.552, allocations: 0 / 0.6636 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.03935/0.5913, allocations: 15.5 MB / 0.6787 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.5914, allocations: 175.2 kB / 0.6789 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005179/0.5966, allocations: 3.528 MB / 0.6823 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003536/0.597, allocations: 45.7 kB / 0.6824 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002208/0.5992, allocations: 2.745 MB / 0.6851 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008084/0.6, allocations: 0.6319 MB / 0.6857 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001506/0.6015, allocations: 1.103 MB / 0.6868 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6016, allocations: 301.1 kB / 0.687 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003109/0.6047, allocations: 2.126 MB / 0.6891 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006534/0.6113, allocations: 5.341 MB / 0.6943 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/0.6224, allocations: 8.026 MB / 0.7022 GB, free: 15.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/0.6225, allocations: 32.19 kB / 0.7022 GB, free: 15.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01581/0.6383, allocations: 8.306 MB / 0.7103 GB, free: 6.785 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.051e-05/0.6384, allocations: 52.94 kB / 0.7104 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001602/0.6385, allocations: 112 kB / 0.7105 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00325/0.6418, allocations: 1.222 MB / 0.7117 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004051/0.6458, allocations: 1.216 MB / 0.7128 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/0.6572, allocations: 7.601 MB / 0.7203 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004305/0.6615, allocations: 315.5 kB / 0.7206 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006839/0.6622, allocations: 324 kB / 0.7209 GB, free: 11.81 MB / 0.5606 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.003253/0.6655, allocations: 1.856 MB / 0.7227 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007152/0.6662, allocations: 313.9 kB / 0.723 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007013/0.6732, allocations: 3.561 MB / 0.7265 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.695e-05/0.6732, allocations: 7.969 kB / 0.7265 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.6732, allocations: 8 kB / 0.7265 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/0.6745, allocations: 374.8 kB / 0.7268 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005134/0.675, allocations: 20 kB / 0.7269 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.6763, allocations: 111.8 kB / 0.727 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002631/0.6766, allocations: 100.8 kB / 0.7271 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007906/0.6845, allocations: 4.125 MB / 0.7311 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.3121/0.9966, allocations: 5.347 MB / 0.7363 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001407/0.998, allocations: 1.293 MB / 0.7376 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002767/1.001, allocations: 2.195 MB / 0.7397 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of Backend: time 3.2e-07/1.001, allocations: 0 / 0.7397 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006908/1.008, allocations: 3.914 MB / 0.7435 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01077/1.018, allocations: 8.22 MB / 0.7516 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.06474/1.083, allocations: 46.03 MB / 0.7965 GB, free: 102.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 6.8343285489827394]