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.001271/0.001271, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001407/0.001407, allocations: 209.5 kB / 25.13 MB, free: 3.586 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.478/1.478, allocations: 230.4 MB / 258.7 MB, free: 8.027 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.2283/0.2283, allocations: 46.94 MB / 362.1 MB, free: 4.215 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.002405/0.002405, allocations: 83.84 kB / 0.4978 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3096, allocations: 66.07 MB / 0.5623 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01183/0.3214, allocations: 9.459 MB / 0.5716 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008002/0.3294, allocations: 3.835 MB / 0.5753 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.3312, allocations: 67.69 kB / 0.5754 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005121/0.3363, allocations: 2.324 MB / 0.5776 GB, free: 4.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.3411, allocations: 1.65 MB / 0.5793 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.3429, allocations: 0.6979 MB / 0.5799 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006326/0.3492, allocations: 3.806 MB / 0.5837 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003463/0.3527, allocations: 2.323 MB / 0.5859 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002504/0.3552, allocations: 1.304 MB / 0.5872 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003316/0.3585, allocations: 1.865 MB / 0.589 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.3595, allocations: 288 kB / 0.5893 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002861/0.3624, allocations: 1.065 MB / 0.5903 GB, free: 7.426 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002551/0.3649, allocations: 1.62 MB / 0.5919 GB, free: 5.801 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003677/0.3686, allocations: 1.852 MB / 0.5937 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008694/0.3773, allocations: 6.253 MB / 0.5998 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3773, allocations: 0 / 0.5998 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3773, allocations: 0 / 0.5998 GB, free: 13.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001582/0.3775, allocations: 0 / 0.5998 GB, free: 13.66 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.009433/0.3869, allocations: 4.183 MB / 0.6039 GB, free: 9.422 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.387, allocations: 12.03 kB / 0.6039 GB, free: 9.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007909/0.3949, allocations: 2.03 MB / 0.6059 GB, free: 7.375 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005903/0.4008, allocations: 2.271 MB / 0.6081 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/0.401, allocations: 193.3 kB / 0.6083 GB, free: 4.879 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009955/0.402, allocations: 263.9 kB / 0.6086 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01656/0.4185, allocations: 8.605 MB / 0.617 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/0.4187, allocations: 35.7 kB / 0.617 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005243/0.4192, allocations: 127.9 kB / 0.6171 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003324/0.4225, allocations: 1.75 MB / 0.6188 GB, free: 9.477 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.016/0.4385, allocations: 7.553 MB / 0.6262 GB, free: 1.914 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04691/0.4854, allocations: 34.03 MB / 0.6594 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006848/0.4923, allocations: 2.518 MB / 0.6619 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002599/0.4949, allocations: 1.77 MB / 0.6636 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003325/0.4952, allocations: 100.4 kB / 0.6637 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.4952, allocations: 51.22 kB / 0.6638 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.458e-06/0.4953, allocations: 0 / 0.6638 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.03982/0.5351, allocations: 15.35 MB / 0.6788 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.5352, allocations: 171.2 kB / 0.6789 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005473/0.5407, allocations: 3.528 MB / 0.6824 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003295/0.541, allocations: 49.7 kB / 0.6824 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002323/0.5433, allocations: 2.741 MB / 0.6851 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009181/0.5442, allocations: 0.6358 MB / 0.6857 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001746/0.546, allocations: 1.103 MB / 0.6868 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.5461, allocations: 305.1 kB / 0.6871 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003489/0.5496, allocations: 2.123 MB / 0.6891 GB, free: 260 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006618/0.5562, allocations: 5.37 MB / 0.6944 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/0.5674, allocations: 8.026 MB / 0.7022 GB, free: 15.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/0.5675, allocations: 35.94 kB / 0.7023 GB, free: 15.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.0177/0.5852, allocations: 8.294 MB / 0.7104 GB, free: 7.312 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.986e-05/0.5853, allocations: 55.98 kB / 0.7104 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001507/0.5855, allocations: 112 kB / 0.7105 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003268/0.5887, allocations: 1.223 MB / 0.7117 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004166/0.5929, allocations: 1.216 MB / 0.7129 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.6042, allocations: 7.486 MB / 0.7202 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004146/0.6084, allocations: 319.5 kB / 0.7205 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009865/0.6094, allocations: 327.9 kB / 0.7208 GB, free: 12.47 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.003912/0.6133, allocations: 1.844 MB / 0.7226 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008881/0.6142, allocations: 317.9 kB / 0.7229 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007315/0.6215, allocations: 3.561 MB / 0.7264 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.331e-05/0.6215, allocations: 20 kB / 0.7264 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.018e-05/0.6216, allocations: 8 kB / 0.7264 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/0.6216, allocations: 7.984 kB / 0.7264 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2897/0.9113, allocations: 8.127 MB / 0.7344 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.491e-05/0.9113, allocations: 4.25 kB / 0.7344 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/0.9128, allocations: 226.4 kB / 0.7346 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002629/0.9154, allocations: 1.073 MB / 0.7357 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003112/0.9157, allocations: 23.25 kB / 0.7357 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007865/0.9236, allocations: 7.151 MB / 0.7427 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.9236, allocations: 3.906 kB / 0.7427 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007852/0.9314, allocations: 6.275 MB / 0.7488 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000739/0.9322, allocations: 301.2 kB / 0.7491 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004404/0.9326, allocations: 23.19 kB / 0.7491 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.9338, allocations: 106.1 kB / 0.7492 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002889/0.9341, allocations: 89.98 kB / 0.7493 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.9342, allocations: 43.86 kB / 0.7493 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002827/0.9371, allocations: 2.194 MB / 0.7515 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9371, allocations: 0 / 0.7515 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003972/0.941, allocations: 0.8903 MB / 0.7523 GB, free: 146.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (115): * Single equations (assignments): 111 * 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 {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003963/0.9414, allocations: 152.4 kB / 0.7525 GB, free: 146 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006629/0.9481, allocations: 4.945 MB / 0.7573 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.9481, allocations: 0.9375 kB / 0.7573 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002514/0.9506, allocations: 1.74 MB / 0.759 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/0.9529, allocations: 380.6 kB / 0.7594 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.965, allocations: 8.483 MB / 0.7677 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002477/0.9675, allocations: 2.891 MB / 0.7705 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003195/0.9707, allocations: 1.706 MB / 0.7722 GB, free: 127 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000735/0.9715, allocations: 211.4 kB / 0.7724 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.473e-06/0.9715, allocations: 0 / 0.7724 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.05565/1.027, allocations: 37.52 MB / 0.809 GB, free: 89.49 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 -s gbode -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/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-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: 7.128152242861688]