Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 97.58 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 181.6 kB / 18.91 MB, free: 4.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.3 MB / 243 MB, free: 14.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2403/0.2403, allocations: 44.25 MB / 338.3 MB, free: 2.379 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.000342, allocations: 13.94 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1205, allocations: 61.91 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.03868/0.1592, allocations: 39.94 MB / 0.5008 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.284/0.4433, allocations: 9.077 MB / 0.5097 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008494/0.4518, allocations: 169.8 kB / 0.5098 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.4536, allocations: 378.7 kB / 0.5102 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005939/0.4596, allocations: 1.555 MB / 0.5117 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.4617, allocations: 0.6414 MB / 0.5124 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008811/0.4705, allocations: 5.471 MB / 0.5177 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007585/0.4781, allocations: 4.016 MB / 0.5216 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/0.4808, allocations: 0.9544 MB / 0.5226 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/0.4842, allocations: 1.636 MB / 0.5241 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009705/0.4852, allocations: 119.3 kB / 0.5243 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.4883, allocations: 1.081 MB / 0.5253 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002227/0.4905, allocations: 1.454 MB / 0.5267 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00273/0.4933, allocations: 1.711 MB / 0.5284 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004844/0.4981, allocations: 4.895 MB / 0.5332 GB, free: 4.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4982, allocations: 0 / 0.5332 GB, free: 4.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4982, allocations: 0 / 0.5332 GB, free: 4.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001884/0.4984, allocations: 0 / 0.5332 GB, free: 4.211 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.007783/0.5062, allocations: 3.469 MB / 0.5366 GB, free: 1.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.5062, allocations: 7.75 kB / 0.5366 GB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008404/0.5146, allocations: 2.08 MB / 0.5386 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00564/0.5203, allocations: 2.329 MB / 0.5409 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.5205, allocations: 193.6 kB / 0.5411 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/0.5216, allocations: 264 kB / 0.5413 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.5376, allocations: 8.788 MB / 0.5499 GB, free: 6.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/0.5378, allocations: 45.61 kB / 0.55 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004208/0.5382, allocations: 128.8 kB / 0.5501 GB, free: 6.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003246/0.5415, allocations: 1.795 MB / 0.5518 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01568/0.5572, allocations: 7.73 MB / 0.5594 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04339/0.6006, allocations: 34.76 MB / 0.5933 GB, free: 9.609 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006783/0.6074, allocations: 3.099 MB / 0.5964 GB, free: 6.363 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002523/0.61, allocations: 1.918 MB / 0.5982 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004089/0.6104, allocations: 336.1 kB / 0.5985 GB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.6105, allocations: 47.16 kB / 0.5986 GB, free: 4.008 MB / 446.1 MB Notification: Performance of pre-optimization done (n=135): time 4.949e-06/0.6105, allocations: 0 / 0.5986 GB, free: 4.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=156): time 0.04135/0.6519, allocations: 15.37 MB / 0.6136 GB, free: 4.512 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.609e-05/0.652, allocations: 167.2 kB / 0.6138 GB, free: 4.312 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006215/0.6582, allocations: 3.548 MB / 0.6172 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003873/0.6586, allocations: 49.64 kB / 0.6173 GB, free: 0.707 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002093/0.6607, allocations: 2.694 MB / 0.6199 GB, free: 14.02 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009913/0.6618, allocations: 0.6027 MB / 0.6205 GB, free: 13.42 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/0.6628, allocations: 473.8 kB / 0.6209 GB, free: 12.95 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6629, allocations: 309.1 kB / 0.6212 GB, free: 12.65 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003589/0.6665, allocations: 2.134 MB / 0.6233 GB, free: 10.51 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006158/0.6727, allocations: 5.378 MB / 0.6286 GB, free: 3.496 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/0.6828, allocations: 8.103 MB / 0.6365 GB, free: 9.793 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001146/0.6829, allocations: 36.19 kB / 0.6365 GB, free: 9.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=703) (initialization): time 0.01611/0.699, allocations: 8.335 MB / 0.6447 GB, free: 1.414 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.6992, allocations: 56 kB / 0.6447 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002024/0.6994, allocations: 119.9 kB / 0.6448 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003306/0.7027, allocations: 1.226 MB / 0.646 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004385/0.7071, allocations: 1.224 MB / 0.6472 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/0.7172, allocations: 7.118 MB / 0.6542 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004456/0.7217, allocations: 315.5 kB / 0.6545 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009807/0.7227, allocations: 331.2 kB / 0.6548 GB, free: 6.898 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 522 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.arrowLine.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 (655): * Single equations (assignments): 651 * 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.004032/0.7268, allocations: 1.883 MB / 0.6566 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007992/0.7276, allocations: 304.1 kB / 0.6569 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00714/0.7347, allocations: 3.569 MB / 0.6604 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-05/0.7348, allocations: 19.94 kB / 0.6604 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.089e-05/0.7348, allocations: 4 kB / 0.6604 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.829e-05/0.7349, allocations: 11.97 kB / 0.6604 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/0.7527, allocations: 8.336 MB / 0.6686 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/0.7527, allocations: 0 / 0.6686 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.7539, allocations: 231.6 kB / 0.6688 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002922/0.7569, allocations: 1.06 MB / 0.6698 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002456/0.7572, allocations: 28 kB / 0.6699 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009403/0.7666, allocations: 6.729 MB / 0.6764 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7666, allocations: 0 / 0.6764 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/0.7772, allocations: 6.267 MB / 0.6826 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.7784, allocations: 368.9 kB / 0.6829 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008475/0.7793, allocations: 28 kB / 0.6829 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/0.7811, allocations: 103.8 kB / 0.683 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003417/0.7815, allocations: 92.41 kB / 0.6831 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/0.7816, allocations: 40 kB / 0.6832 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004621/0.7862, allocations: 2.217 MB / 0.6853 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7863, allocations: 0 / 0.6853 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005426/0.7917, allocations: 0.9062 MB / 0.6862 GB, free: 6.488 MB / 0.5294 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.0005464/0.7922, allocations: 156.5 kB / 0.6864 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009005/0.8013, allocations: 5.156 MB / 0.6914 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.8013, allocations: 192 / 0.6914 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003302/0.8046, allocations: 1.873 MB / 0.6932 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/0.808, allocations: 373.1 kB / 0.6936 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/0.8264, allocations: 10.64 MB / 0.704 GB, free: 4.266 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004466/0.8309, allocations: 2.918 MB / 0.7068 GB, free: 1.309 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/0.8321, allocations: 255.4 kB / 0.7071 GB, free: 1.059 MB / 0.545 GB Notification: Performance of SimCode: time 8.81e-07/0.8322, allocations: 0 / 0.7071 GB, free: 1.059 MB / 0.545 GB Notification: Performance of Templates: time 0.3565/1.189, allocations: 67.61 MB / 0.7731 GB, free: 157 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches