Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001619, allocations: 171.6 kB / 8.148 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001259/0.001259, allocations: 91.91 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2591/0.2591, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.576e-06/8.736e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2745, allocations: 58.83 MB / 476.5 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.459, allocations: 104.9 MB / 0.5678 GB, free: 10.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.4593, allocations: 75.95 kB / 0.5679 GB, free: 10.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5101/0.9694, allocations: 78.07 MB / 0.6441 GB, free: 104.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001881/0.9697, allocations: 86.88 kB / 0.6442 GB, free: 104.4 MB / 474.7 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.01315/0.9828, allocations: 3.75 MB / 0.6478 GB, free: 102.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.9829, allocations: 10.09 kB / 0.6479 GB, free: 102.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02907/1.012, allocations: 3.936 MB / 0.6517 GB, free: 102.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01692/1.029, allocations: 4.574 MB / 0.6562 GB, free: 102.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/1.029, allocations: 123.1 kB / 0.6563 GB, free: 102.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001153/1.03, allocations: 218.6 kB / 0.6565 GB, free: 102.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01357/1.044, allocations: 5.787 MB / 0.6621 GB, free: 102.1 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0184/1.062, allocations: 8.849 MB / 0.6708 GB, free: 99.62 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001887/1.063, allocations: 58.97 kB / 0.6708 GB, free: 99.62 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007372/1.063, allocations: 27.66 kB / 0.6709 GB, free: 99.62 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001508/1.065, allocations: 1.009 MB / 0.6719 GB, free: 99.61 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05784/1.123, allocations: 42.64 MB / 0.7135 GB, free: 68.99 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006646/1.129, allocations: 3.364 MB / 0.7168 GB, free: 67.24 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004032/1.134, allocations: 2.055 MB / 0.7188 GB, free: 66.35 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01394/1.148, allocations: 6.058 MB / 0.7247 GB, free: 62.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/1.148, allocations: 53.84 kB / 0.7248 GB, free: 62.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=150): time 5.41e-06/1.148, allocations: 0 / 0.7248 GB, free: 62.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=172): time 0.04442/1.192, allocations: 12.99 MB / 0.7374 GB, free: 57.37 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/1.192, allocations: 177.8 kB / 0.7376 GB, free: 57.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00573/1.198, allocations: 2.813 MB / 0.7404 GB, free: 54.94 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000441/1.198, allocations: 25.7 kB / 0.7404 GB, free: 54.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001559/1.2, allocations: 2.711 MB / 0.743 GB, free: 52.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008582/1.201, allocations: 0.6463 MB / 0.7437 GB, free: 51.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/1.201, allocations: 0 / 0.7437 GB, free: 51.86 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003488/1.202, allocations: 0.5543 MB / 0.7442 GB, free: 51.36 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004392/1.206, allocations: 2.074 MB / 0.7462 GB, free: 49.49 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006185/1.212, allocations: 5.542 MB / 0.7516 GB, free: 42.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006948/1.219, allocations: 3.39 MB / 0.755 GB, free: 39.57 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-05/1.219, allocations: 36 kB / 0.755 GB, free: 39.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=746) (initialization): time 0.02118/1.241, allocations: 7.404 MB / 0.7622 GB, free: 33.11 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/1.241, allocations: 4 kB / 0.7622 GB, free: 33.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001927/1.241, allocations: 128 kB / 0.7623 GB, free: 32.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003681/1.244, allocations: 0.8693 MB / 0.7632 GB, free: 32.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009055/1.254, allocations: 1.303 MB / 0.7645 GB, free: 31.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/1.266, allocations: 5.621 MB / 0.77 GB, free: 26.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005721/1.272, allocations: 176.1 kB / 0.7701 GB, free: 25.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001357/1.273, allocations: 353.9 kB / 0.7705 GB, free: 25.56 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 568 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (698): * Single equations (assignments): 694 * 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.001263/1.274, allocations: 334.5 kB / 0.7708 GB, free: 25.23 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009044/1.275, allocations: 292.2 kB / 0.7711 GB, free: 24.94 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/1.286, allocations: 3.326 MB / 0.7743 GB, free: 22.17 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001392/1.286, allocations: 19.94 kB / 0.7743 GB, free: 22.15 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.422e-05/1.286, allocations: 4 kB / 0.7743 GB, free: 22.15 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-05/1.286, allocations: 15.5 kB / 0.7743 GB, free: 22.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02357/1.31, allocations: 7.339 MB / 0.7815 GB, free: 16.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.091e-05/1.31, allocations: 4.609 kB / 0.7815 GB, free: 16.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003034/1.313, allocations: 250.8 kB / 0.7818 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003598/1.317, allocations: 0.7054 MB / 0.7824 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003946/1.317, allocations: 4 kB / 0.7824 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/1.328, allocations: 5.099 MB / 0.7874 GB, free: 9.973 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.328, allocations: 3.281 kB / 0.7874 GB, free: 9.973 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01404/1.342, allocations: 6.123 MB / 0.7934 GB, free: 3.797 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002068/1.344, allocations: 0.6104 MB / 0.794 GB, free: 3.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007388/1.345, allocations: 11.89 kB / 0.794 GB, free: 3.148 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002475/1.348, allocations: 47.94 kB / 0.7941 GB, free: 3.102 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003343/1.348, allocations: 72.88 kB / 0.7941 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002102/1.348, allocations: 48 kB / 0.7942 GB, free: 2.984 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.00419/1.352, allocations: 1.884 MB / 0.796 GB, free: 1.105 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006601/1.359, allocations: 0.7891 MB / 0.7968 GB, free: 324 kB / 474.7 MB 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 (132): * Single equations (assignments): 128 * 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.0006057/1.36, allocations: 146.9 kB / 0.7969 GB, free: 168 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01278/1.372, allocations: 4.948 MB / 0.8018 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.373, allocations: 0 / 0.8018 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005585/1.378, allocations: 1.783 MB / 0.8035 GB, free: 9.438 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/1.381, allocations: 289.8 kB / 0.8038 GB, free: 9.164 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02538/1.406, allocations: 7.755 MB / 0.8113 GB, free: 1.352 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0094/1.416, allocations: 3.408 MB / 0.8147 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of SimCode: time 1.754e-06/1.416, allocations: 0 / 0.8147 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of Templates: time 0.3517/1.768, allocations: 68.99 MB / 0.882 GB, free: 166.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches