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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 176.8 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.2 MB / 241 MB, free: 10.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008526/0.0008525, allocations: 108.2 kB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3168/0.3168, allocations: 44.21 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005274/0.0005274, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3642, allocations: 61.9 MB / 0.5096 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.4907, allocations: 106.8 MB / 0.6138 GB, free: 4.312 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.491, allocations: 79.95 kB / 0.6139 GB, free: 4.234 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4347/0.9257, allocations: 77.84 MB / 0.6899 GB, free: 95.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.9257, allocations: 0 / 0.6899 GB, free: 95.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001265/0.9259, allocations: 67.28 kB / 0.69 GB, free: 95.9 MB / 490.7 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.008647/0.9345, allocations: 3.866 MB / 0.6937 GB, free: 94.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.9346, allocations: 11.64 kB / 0.6938 GB, free: 94.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01488/0.9495, allocations: 4.25 MB / 0.6979 GB, free: 94.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/0.9614, allocations: 4.289 MB / 0.7021 GB, free: 93.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/0.9617, allocations: 271.1 kB / 0.7023 GB, free: 93.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001822/0.9635, allocations: 371 kB / 0.7027 GB, free: 93.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01793/0.9815, allocations: 9.159 MB / 0.7116 GB, free: 91.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001504/0.9817, allocations: 54.45 kB / 0.7117 GB, free: 91.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005223/0.9822, allocations: 179 kB / 0.7119 GB, free: 91.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001152/0.9834, allocations: 0.8863 MB / 0.7127 GB, free: 91.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01668/1, allocations: 7.708 MB / 0.7203 GB, free: 89.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03879/1.039, allocations: 42.12 MB / 0.7614 GB, free: 57.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006243/1.045, allocations: 3.465 MB / 0.7648 GB, free: 55.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003267/1.046, allocations: 336.2 kB / 0.7651 GB, free: 55.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/1.046, allocations: 50.47 kB / 0.7651 GB, free: 55.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=135): time 5.299e-06/1.046, allocations: 0 / 0.7651 GB, free: 55.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=156): time 0.02864/1.074, allocations: 14.44 MB / 0.7792 GB, free: 49.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/1.074, allocations: 170 kB / 0.7794 GB, free: 49.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003667/1.078, allocations: 3.154 MB / 0.7825 GB, free: 47.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002315/1.078, allocations: 45.64 kB / 0.7825 GB, free: 47.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001562/1.08, allocations: 2.723 MB / 0.7852 GB, free: 45.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006333/1.08, allocations: 0.6094 MB / 0.7858 GB, free: 45.26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/1.081, allocations: 99.47 kB / 0.7859 GB, free: 45.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002675/1.081, allocations: 0.5304 MB / 0.7864 GB, free: 44.78 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002331/1.083, allocations: 1.969 MB / 0.7883 GB, free: 44.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003478/1.087, allocations: 5.209 MB / 0.7934 GB, free: 38.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003329/1.09, allocations: 3.156 MB / 0.7965 GB, free: 36.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.159e-05/1.09, allocations: 32 kB / 0.7965 GB, free: 36.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=686) (initialization): time 0.01038/1.101, allocations: 7.724 MB / 0.8041 GB, free: 30.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.975e-05/1.101, allocations: 56 kB / 0.8041 GB, free: 30.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/1.101, allocations: 112 kB / 0.8042 GB, free: 30 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002019/1.103, allocations: 0.925 MB / 0.8051 GB, free: 29.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004111/1.107, allocations: 1.218 MB / 0.8063 GB, free: 28.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006348/1.113, allocations: 6.252 MB / 0.8124 GB, free: 22.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003862/1.117, allocations: 308.1 kB / 0.8127 GB, free: 22.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006234/1.118, allocations: 327.1 kB / 0.813 GB, free: 22.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 524 * Number of states: 0 () * Number of discrete variables: 26 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.arrow.arrowLine.twoHeadedArrow,torque.arrow.headAtOrigin,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 (638): * Single equations (assignments): 634 * 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.002927/1.121, allocations: 1.878 MB / 0.8149 GB, free: 20.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005578/1.121, allocations: 308 kB / 0.8152 GB, free: 20.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004502/1.126, allocations: 3.095 MB / 0.8182 GB, free: 17.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/1.126, allocations: 16 kB / 0.8182 GB, free: 17.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.126, allocations: 15.94 kB / 0.8182 GB, free: 17.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/1.126, allocations: 10.61 kB / 0.8182 GB, free: 17.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/1.14, allocations: 7.793 MB / 0.8258 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.042e-05/1.14, allocations: 2.625 kB / 0.8258 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/1.141, allocations: 242 kB / 0.8261 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/1.143, allocations: 0.7503 MB / 0.8268 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/1.143, allocations: 35.67 kB / 0.8268 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005901/1.149, allocations: 5.795 MB / 0.8325 GB, free: 4.324 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.149, allocations: 3.938 kB / 0.8325 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006812/1.156, allocations: 5.707 MB / 0.8381 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/1.157, allocations: 365 kB / 0.8384 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003668/1.157, allocations: 24 kB / 0.8384 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/1.158, allocations: 91.88 kB / 0.8385 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/1.158, allocations: 84.81 kB / 0.8386 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/1.159, allocations: 51.47 kB / 0.8387 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00344/1.162, allocations: 2.206 MB / 0.8408 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.162, allocations: 0 / 0.8408 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00435/1.166, allocations: 0.8788 MB / 0.8417 GB, free: 10.88 MB / 0.4948 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.0004812/1.167, allocations: 167.9 kB / 0.8418 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007655/1.174, allocations: 4.791 MB / 0.8465 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/1.175, allocations: 4 kB / 0.8465 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002684/1.177, allocations: 1.719 MB / 0.8482 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/1.179, allocations: 359.3 kB / 0.8485 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/1.195, allocations: 9.621 MB / 0.8579 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003472/1.198, allocations: 3.003 MB / 0.8609 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004269/1.203, allocations: 1.726 MB / 0.8625 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000691/1.203, allocations: 215.4 kB / 0.8628 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of SimCode: time 2.355e-06/1.203, allocations: 0 / 0.8628 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of Templates: time 0.2927/1.496, allocations: 32.56 MB / 0.8945 GB, free: 125.3 MB / 0.5261 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches