Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001616/0.001616, allocations: 105.9 kB / 16.41 MB, free: 6.48 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.001495/0.001495, allocations: 189.5 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.1 MB / 223.2 MB, free: 12.1 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.298/0.298, allocations: 43.53 MB / 314.1 MB, free: 428 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 71.89 kB / 441.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1765, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01364/0.1902, allocations: 10.22 MB / 0.4979 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009959/0.2002, allocations: 3.918 MB / 0.5017 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002304/0.2026, allocations: 59.81 kB / 0.5018 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004611/0.2072, allocations: 2.313 MB / 0.504 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005959/0.2132, allocations: 1.739 MB / 0.5057 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.2154, allocations: 0.694 MB / 0.5064 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006835/0.2223, allocations: 3.817 MB / 0.5101 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00433/0.2266, allocations: 2.977 MB / 0.513 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003552/0.2302, allocations: 1.378 MB / 0.5144 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003995/0.2342, allocations: 1.861 MB / 0.5162 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.2353, allocations: 304 kB / 0.5165 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.2381, allocations: 1.182 MB / 0.5176 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002041/0.2401, allocations: 1.726 MB / 0.5193 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002582/0.2427, allocations: 2.02 MB / 0.5213 GB, free: 9.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008983/0.2517, allocations: 6.751 MB / 0.5279 GB, free: 2.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.2518, allocations: 0 / 0.5279 GB, free: 2.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.2518, allocations: 4 kB / 0.5279 GB, free: 2.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000246/0.252, allocations: 0 / 0.5279 GB, free: 2.613 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.4026/0.6547, allocations: 4.415 MB / 0.5322 GB, free: 37.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.6547, allocations: 14.95 kB / 0.5322 GB, free: 37.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/0.665, allocations: 2.064 MB / 0.5342 GB, free: 36.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007831/0.6729, allocations: 2.493 MB / 0.5367 GB, free: 36.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002727/0.6732, allocations: 205.5 kB / 0.5369 GB, free: 36.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008678/0.6741, allocations: 278.7 kB / 0.5371 GB, free: 36.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01983/0.6939, allocations: 9.282 MB / 0.5462 GB, free: 31.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001424/0.6941, allocations: 41.03 kB / 0.5462 GB, free: 31.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004169/0.6945, allocations: 136.2 kB / 0.5464 GB, free: 31.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004037/0.6986, allocations: 1.916 MB / 0.5482 GB, free: 31.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01856/0.7171, allocations: 8.176 MB / 0.5562 GB, free: 28.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04821/0.7654, allocations: 36.23 MB / 0.5916 GB, free: 7.203 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007894/0.7734, allocations: 3.675 MB / 0.5952 GB, free: 3.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002751/0.7762, allocations: 2.082 MB / 0.5972 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000437/0.7766, allocations: 336.2 kB / 0.5975 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/0.7767, allocations: 55.55 kB / 0.5976 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of pre-optimization done (n=156): time 4.869e-06/0.7767, allocations: 3.938 kB / 0.5976 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of matching and sorting (n=177): time 0.03988/0.8166, allocations: 16.2 MB / 0.6134 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.8168, allocations: 179.2 kB / 0.6136 GB, free: 324 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005414/0.8222, allocations: 3.635 MB / 0.6171 GB, free: 12.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004056/0.8226, allocations: 59.58 kB / 0.6172 GB, free: 12.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002192/0.8248, allocations: 2.807 MB / 0.6199 GB, free: 9.777 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001059/0.8259, allocations: 0.6749 MB / 0.6206 GB, free: 9.094 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001638/0.8275, allocations: 1.15 MB / 0.6217 GB, free: 7.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.8277, allocations: 309.1 kB / 0.622 GB, free: 7.625 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003317/0.831, allocations: 2.287 MB / 0.6242 GB, free: 5.332 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005666/0.8367, allocations: 5.643 MB / 0.6298 GB, free: 14.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/0.8479, allocations: 8.554 MB / 0.6381 GB, free: 3.812 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001257/0.8481, allocations: 39.94 kB / 0.6381 GB, free: 3.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01664/0.8647, allocations: 8.764 MB / 0.6467 GB, free: 10.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.8649, allocations: 56 kB / 0.6468 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002552/0.8652, allocations: 124.1 kB / 0.6469 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003473/0.8687, allocations: 1.226 MB / 0.6481 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004809/0.8735, allocations: 1.298 MB / 0.6493 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.8845, allocations: 7.686 MB / 0.6568 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005992/0.8906, allocations: 335.3 kB / 0.6572 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001391/0.892, allocations: 340 kB / 0.6575 GB, free: 15.79 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (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 (690): * Single equations (assignments): 686 * 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 {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00486/0.8969, allocations: 1.97 MB / 0.6594 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/0.8979, allocations: 319.9 kB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007996/0.9059, allocations: 3.929 MB / 0.6636 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.335e-05/0.906, allocations: 27.92 kB / 0.6636 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-05/0.906, allocations: 4 kB / 0.6636 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.113e-05/0.9061, allocations: 7.969 kB / 0.6636 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02125/0.9273, allocations: 8.945 MB / 0.6723 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-05/0.9274, allocations: 0 / 0.6723 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/0.9289, allocations: 279.5 kB / 0.6726 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002891/0.9318, allocations: 1.062 MB / 0.6736 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002675/0.932, allocations: 32 kB / 0.6737 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/0.9421, allocations: 7.253 MB / 0.6807 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.9421, allocations: 3.938 kB / 0.6807 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/0.9539, allocations: 6.852 MB / 0.6874 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002623/0.9566, allocations: 0.6765 MB / 0.6881 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/0.9577, allocations: 35.97 kB / 0.6881 GB, free: 116 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/0.9599, allocations: 111.8 kB / 0.6882 GB, free: 4 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004054/0.9603, allocations: 88.88 kB / 0.6883 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/0.9605, allocations: 51.98 kB / 0.6884 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005414/0.966, allocations: 2.281 MB / 0.6906 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.21e-07/0.966, allocations: 0 / 0.6906 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00697/0.973, allocations: 0.9635 MB / 0.6915 GB, free: 12.63 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 (137): * Single equations (assignments): 133 * 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.0007238/0.9737, allocations: 161.7 kB / 0.6917 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01038/0.9841, allocations: 5.486 MB / 0.6971 GB, free: 7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.9841, allocations: 64 / 0.6971 GB, free: 7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003826/0.988, allocations: 2.042 MB / 0.699 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00409/0.9921, allocations: 397.8 kB / 0.6994 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02016/1.012, allocations: 8.939 MB / 0.7082 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006292/1.019, allocations: 3.064 MB / 0.7112 GB, free: 8.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005419/1.024, allocations: 1.809 MB / 0.7129 GB, free: 6.688 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/1.025, allocations: 227.4 kB / 0.7131 GB, free: 6.465 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/1.025, allocations: 0 / 0.7131 GB, free: 6.465 MB / 0.545 GB Notification: Performance of Templates: time 0.07701/1.102, allocations: 35.88 MB / 0.7482 GB, free: 2.602 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches