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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 179.4 kB / 8.519 MB, free: 1.859 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 221.4 MB / 230.3 MB, free: 7.648 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008549/0.0008548, allocations: 89.48 kB / 281.2 MB, free: 5.445 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.1708/0.1708, allocations: 44.15 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.652e-06/6.652e-06, allocations: 4 kB / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1252, allocations: 61.91 MB / 0.4941 GB, free: 1.602 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3546/0.4798, allocations: 105.9 MB / 0.5976 GB, free: 6.762 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.4801, allocations: 80.61 kB / 0.5976 GB, free: 6.684 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1908/0.6709, allocations: 75.17 MB / 0.671 GB, free: 11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001586/0.6711, allocations: 75.94 kB / 0.6711 GB, free: 10.92 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.009012/0.6801, allocations: 3.588 MB / 0.6746 GB, free: 7.273 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.6802, allocations: 11.97 kB / 0.6746 GB, free: 7.262 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01618/0.6964, allocations: 3.906 MB / 0.6784 GB, free: 3.344 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01134/0.7077, allocations: 4.326 MB / 0.6827 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.7079, allocations: 112 kB / 0.6828 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/0.7089, allocations: 207.9 kB / 0.683 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008789/0.7177, allocations: 5.445 MB / 0.6883 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01373/0.7315, allocations: 8.405 MB / 0.6965 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001891/0.7317, allocations: 59.41 kB / 0.6966 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006553/0.7324, allocations: 28 kB / 0.6966 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001102/0.7335, allocations: 0.9388 MB / 0.6975 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2568/0.9903, allocations: 41.11 MB / 0.7376 GB, free: 169 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003628/0.994, allocations: 3.157 MB / 0.7407 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/0.996, allocations: 1.901 MB / 0.7426 GB, free: 168.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008202/1.004, allocations: 5.661 MB / 0.7481 GB, free: 166.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/1.004, allocations: 54.66 kB / 0.7482 GB, free: 166.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=129): time 3.717e-06/1.004, allocations: 2.719 kB / 0.7482 GB, free: 166.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=151): time 0.0227/1.027, allocations: 12.15 MB / 0.76 GB, free: 164.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/1.027, allocations: 169.6 kB / 0.7602 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003778/1.031, allocations: 2.722 MB / 0.7629 GB, free: 163.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002617/1.031, allocations: 32.19 kB / 0.7629 GB, free: 163.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/1.032, allocations: 2.605 MB / 0.7654 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004705/1.033, allocations: 0.5748 MB / 0.766 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/1.033, allocations: 3.188 kB / 0.766 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002294/1.033, allocations: 0.5367 MB / 0.7665 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/1.035, allocations: 1.907 MB / 0.7684 GB, free: 160 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003584/1.039, allocations: 5.253 MB / 0.7735 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003837/1.043, allocations: 3.168 MB / 0.7766 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.275e-05/1.043, allocations: 32.94 kB / 0.7766 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01124/1.054, allocations: 7.024 MB / 0.7835 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.054, allocations: 9.75 kB / 0.7835 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/1.054, allocations: 118.8 kB / 0.7836 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001931/1.056, allocations: 0.8934 MB / 0.7845 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004055/1.06, allocations: 1.234 MB / 0.7857 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008369/1.069, allocations: 5.568 MB / 0.7911 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005385/1.074, allocations: 180.1 kB / 0.7913 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/1.075, allocations: 338.9 kB / 0.7916 GB, free: 148.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 548 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (657): * Single equations (assignments): 653 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009621/1.076, allocations: 402.8 kB / 0.792 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007352/1.077, allocations: 278.1 kB / 0.7923 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005241/1.082, allocations: 2.972 MB / 0.7952 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-05/1.082, allocations: 13.84 kB / 0.7952 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/1.082, allocations: 4.938 kB / 0.7952 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/1.082, allocations: 8.062 kB / 0.7952 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/1.094, allocations: 6.692 MB / 0.8017 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/1.094, allocations: 7.375 kB / 0.8017 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/1.095, allocations: 206.5 kB / 0.8019 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001769/1.097, allocations: 0.7036 MB / 0.8026 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/1.097, allocations: 4 kB / 0.8026 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005749/1.103, allocations: 5.109 MB / 0.8076 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.103, allocations: 0 / 0.8076 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00653/1.109, allocations: 5.532 MB / 0.813 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008096/1.11, allocations: 332.3 kB / 0.8133 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003845/1.11, allocations: 4 kB / 0.8133 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/1.112, allocations: 41.16 kB / 0.8134 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/1.112, allocations: 62.5 kB / 0.8134 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.112, allocations: 43.94 kB / 0.8135 GB, free: 131 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.002482/1.114, allocations: 1.822 MB / 0.8153 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004441/1.119, allocations: 0.7514 MB / 0.816 GB, free: 128.6 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * 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.0004068/1.119, allocations: 151.4 kB / 0.8161 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006195/1.125, allocations: 4.648 MB / 0.8207 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.125, allocations: 0 / 0.8207 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002158/1.128, allocations: 1.607 MB / 0.8223 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/1.129, allocations: 287.8 kB / 0.8225 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/1.141, allocations: 6.808 MB / 0.8292 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00319/1.145, allocations: 3.233 MB / 0.8323 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/1.145, allocations: 4 kB / 0.8323 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.05643/1.201, allocations: 33.04 MB / 0.8646 GB, free: 86.25 MB / 0.5105 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