Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001057/0.001057, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2446/0.2446, allocations: 46.19 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004475, allocations: 8 kB / 418.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1347, allocations: 63.56 MB / 482.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.03224/0.167, allocations: 33.67 MB / 0.504 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3066/0.4737, allocations: 7.938 MB / 0.5117 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00853/0.4823, allocations: 157.5 kB / 0.5119 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007024/0.4893, allocations: 1.749 MB / 0.5136 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02033/0.5097, allocations: 5.218 MB / 0.5187 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0038/0.5135, allocations: 0.5674 MB / 0.5192 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04299/0.5565, allocations: 31.81 MB / 0.5503 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007787/0.5644, allocations: 3.594 MB / 0.5538 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003434/0.5678, allocations: 1.026 MB / 0.5548 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003303/0.5712, allocations: 1.592 MB / 0.5564 GB, free: 6.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.5723, allocations: 120 kB / 0.5565 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002987/0.5753, allocations: 0.9023 MB / 0.5574 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002544/0.5778, allocations: 1.38 MB / 0.5587 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001381/0.5793, allocations: 0.7099 MB / 0.5594 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007389/0.5867, allocations: 4.768 MB / 0.5641 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.32e-05/0.5867, allocations: 0 / 0.5641 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 6.302e-06/0.5867, allocations: 0 / 0.5641 GB, free: 15.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002882/0.587, allocations: 1.641 kB / 0.5641 GB, free: 15.65 MB / 414.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.01131/0.5984, allocations: 3.449 MB / 0.5674 GB, free: 12.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/0.5984, allocations: 16.03 kB / 0.5674 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008381/0.6068, allocations: 2.05 MB / 0.5694 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006326/0.6132, allocations: 2.249 MB / 0.5716 GB, free: 8.672 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.6135, allocations: 190.5 kB / 0.5718 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008044/0.6143, allocations: 257.2 kB / 0.5721 GB, free: 8.402 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/0.6316, allocations: 8.575 MB / 0.5804 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/0.6318, allocations: 47.59 kB / 0.5805 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003776/0.6322, allocations: 118.3 kB / 0.5806 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002992/0.6352, allocations: 1.738 MB / 0.5823 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01565/0.6509, allocations: 7.545 MB / 0.5897 GB, free: 6.805 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04741/0.6983, allocations: 34.33 MB / 0.6232 GB, free: 3.695 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006758/0.7051, allocations: 3.082 MB / 0.6262 GB, free: 480 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002616/0.7078, allocations: 1.909 MB / 0.6281 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003958/0.7082, allocations: 325.3 kB / 0.6284 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/0.7083, allocations: 55.16 kB / 0.6284 GB, free: 14.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=135): time 4.299e-06/0.7083, allocations: 0 / 0.6284 GB, free: 14.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=156): time 0.03675/0.745, allocations: 15.3 MB / 0.6434 GB, free: 14.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.7452, allocations: 171.2 kB / 0.6435 GB, free: 14.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005244/0.7504, allocations: 3.493 MB / 0.6469 GB, free: 11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003824/0.7508, allocations: 48.36 kB / 0.647 GB, free: 10.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001867/0.7527, allocations: 2.637 MB / 0.6496 GB, free: 8.332 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006539/0.7534, allocations: 0.6071 MB / 0.6502 GB, free: 7.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.7536, allocations: 104 kB / 0.6503 GB, free: 7.629 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003026/0.7539, allocations: 0.5332 MB / 0.6508 GB, free: 7.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003046/0.757, allocations: 2.099 MB / 0.6528 GB, free: 4.984 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005497/0.7625, allocations: 5.317 MB / 0.658 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00503/0.7675, allocations: 3.288 MB / 0.6612 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-05/0.7676, allocations: 36 kB / 0.6613 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01678/0.7844, allocations: 8.233 MB / 0.6693 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.454e-05/0.7846, allocations: 62.05 kB / 0.6694 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/0.7847, allocations: 120 kB / 0.6695 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003059/0.7878, allocations: 1.23 MB / 0.6707 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004352/0.7921, allocations: 1.214 MB / 0.6719 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009694/0.8019, allocations: 7.201 MB / 0.6789 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004903/0.8068, allocations: 318.1 kB / 0.6792 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009225/0.8078, allocations: 324 kB / 0.6795 GB, free: 7.91 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003631/0.8114, allocations: 1.849 MB / 0.6813 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007961/0.8122, allocations: 300.2 kB / 0.6816 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006645/0.8188, allocations: 3.557 MB / 0.6851 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.945e-05/0.8189, allocations: 23.95 kB / 0.6851 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.8189, allocations: 7.938 kB / 0.6851 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.819, allocations: 9.609 kB / 0.6851 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/0.8346, allocations: 8.28 MB / 0.6932 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.8346, allocations: 4 kB / 0.6932 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.8358, allocations: 231.6 kB / 0.6934 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002626/0.8384, allocations: 1.06 MB / 0.6945 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000224/0.8386, allocations: 28 kB / 0.6945 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.8493, allocations: 6.719 MB / 0.701 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.8493, allocations: 0 / 0.701 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009977/0.8593, allocations: 6.249 MB / 0.7072 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/0.8608, allocations: 365 kB / 0.7075 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003424/0.8611, allocations: 26.66 kB / 0.7075 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.8623, allocations: 107.8 kB / 0.7076 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002538/0.8626, allocations: 85.03 kB / 0.7077 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.8627, allocations: 39.98 kB / 0.7077 GB, free: 10.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003681/0.8664, allocations: 2.181 MB / 0.7099 GB, free: 8.574 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.252e-06/0.8664, allocations: 0 / 0.7099 GB, free: 8.574 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004277/0.8707, allocations: 0.8906 MB / 0.7107 GB, free: 7.684 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004039/0.8711, allocations: 163.8 kB / 0.7109 GB, free: 7.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00828/0.8794, allocations: 5.041 MB / 0.7158 GB, free: 2.492 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.8794, allocations: 4.062 kB / 0.7158 GB, free: 2.488 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003055/0.8825, allocations: 1.866 MB / 0.7177 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/0.8849, allocations: 350.5 kB / 0.718 GB, free: 280 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2966/1.182, allocations: 9.714 MB / 0.7275 GB, free: 196 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004477/1.186, allocations: 2.88 MB / 0.7303 GB, free: 195.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005967/1.192, allocations: 1.711 MB / 0.732 GB, free: 195.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008281/1.193, allocations: 216.8 kB / 0.7322 GB, free: 195.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.292e-06/1.193, allocations: 3.828 kB / 0.7322 GB, free: 195.1 MB / 0.545 GB Notification: Performance of Templates: time 0.05818/1.251, allocations: 33.43 MB / 0.7648 GB, free: 173.3 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches