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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/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_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") [: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 3.2.3+maint.om/package.mo): time 0.0009365/0.0009367, allocations: 185.4 kB / 7.801 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.053/1.053, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008725/0.0008725, allocations: 87.45 kB / 261.4 MB, free: 13.48 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1482/0.1482, allocations: 43.49 MB / 352.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.893e-06/6.913e-06, allocations: 4 kB / 417.7 MB, free: 40.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2145, allocations: 58.85 MB / 476.6 MB, free: 5.145 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1141/0.3287, allocations: 104.9 MB / 0.5678 GB, free: 9.887 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.329, allocations: 75.95 kB / 0.5679 GB, free: 9.812 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3235/0.6525, allocations: 78.08 MB / 0.6441 GB, free: 107.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001055/0.6526, allocations: 73.36 kB / 0.6442 GB, free: 107.3 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.007339/0.66, allocations: 3.757 MB / 0.6479 GB, free: 105.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.66, allocations: 7.031 kB / 0.6479 GB, free: 105.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/0.6743, allocations: 3.939 MB / 0.6517 GB, free: 105.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009766/0.6841, allocations: 4.569 MB / 0.6562 GB, free: 105 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.849e-05/0.6842, allocations: 124.2 kB / 0.6563 GB, free: 105 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005487/0.6847, allocations: 220.8 kB / 0.6565 GB, free: 105 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006269/0.691, allocations: 5.786 MB / 0.6622 GB, free: 105 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007851/0.6989, allocations: 8.852 MB / 0.6708 GB, free: 102.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.699, allocations: 56.19 kB / 0.6709 GB, free: 102.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003849/0.6994, allocations: 30.12 kB / 0.6709 GB, free: 102.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007861/0.7002, allocations: 1.008 MB / 0.6719 GB, free: 102.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03059/0.7308, allocations: 42.65 MB / 0.7135 GB, free: 71.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003127/0.7339, allocations: 3.365 MB / 0.7168 GB, free: 69.49 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.7358, allocations: 2.047 MB / 0.7188 GB, free: 68.61 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006954/0.7428, allocations: 6.061 MB / 0.7247 GB, free: 65.19 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.7428, allocations: 53.25 kB / 0.7248 GB, free: 65.13 MB / 474.7 MB Notification: Performance of pre-optimization done (n=150): time 3.967e-06/0.7428, allocations: 0 / 0.7248 GB, free: 65.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=172): time 0.02247/0.7653, allocations: 13.01 MB / 0.7375 GB, free: 58.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.7654, allocations: 167.2 kB / 0.7376 GB, free: 58.61 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002839/0.7682, allocations: 2.811 MB / 0.7404 GB, free: 56.12 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.7683, allocations: 25.7 kB / 0.7404 GB, free: 56.09 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008386/0.7692, allocations: 2.733 MB / 0.7431 GB, free: 53.62 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003454/0.7695, allocations: 0.6525 MB / 0.7437 GB, free: 53.04 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.7697, allocations: 0 / 0.7437 GB, free: 53.04 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.7699, allocations: 0.5421 MB / 0.7442 GB, free: 52.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/0.7719, allocations: 2.073 MB / 0.7463 GB, free: 50.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00295/0.7749, allocations: 5.54 MB / 0.7517 GB, free: 43.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/0.778, allocations: 3.386 MB / 0.755 GB, free: 40.76 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.03e-05/0.778, allocations: 36 kB / 0.755 GB, free: 40.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=746) (initialization): time 0.009439/0.7875, allocations: 7.47 MB / 0.7623 GB, free: 34.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.7875, allocations: 4 kB / 0.7623 GB, free: 34.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-05/0.7876, allocations: 131 kB / 0.7624 GB, free: 34.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.7895, allocations: 0.9061 MB / 0.7633 GB, free: 33.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003912/0.7934, allocations: 1.303 MB / 0.7646 GB, free: 32.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006318/0.7998, allocations: 5.588 MB / 0.7701 GB, free: 27.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003751/0.8035, allocations: 182.2 kB / 0.7702 GB, free: 27.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000473/0.804, allocations: 362.1 kB / 0.7706 GB, free: 26.68 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 {(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005703/0.8046, allocations: 407.4 kB / 0.771 GB, free: 26.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003727/0.805, allocations: 292.2 kB / 0.7712 GB, free: 25.98 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004901/0.8099, allocations: 3.324 MB / 0.7745 GB, free: 23.22 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.35e-05/0.8099, allocations: 19.94 kB / 0.7745 GB, free: 23.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.8099, allocations: 4 kB / 0.7745 GB, free: 23.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.81, allocations: 7.172 kB / 0.7745 GB, free: 23.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.8204, allocations: 7.343 MB / 0.7817 GB, free: 16.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.8205, allocations: 4 kB / 0.7817 GB, free: 16.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/0.8217, allocations: 251.6 kB / 0.7819 GB, free: 16.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00161/0.8234, allocations: 0.7048 MB / 0.7826 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.8235, allocations: 15.3 kB / 0.7826 GB, free: 15.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005369/0.8289, allocations: 5.104 MB / 0.7876 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8289, allocations: 0 / 0.7876 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00648/0.8354, allocations: 6.109 MB / 0.7936 GB, free: 3.992 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.8366, allocations: 0.6181 MB / 0.7942 GB, free: 3.352 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004048/0.837, allocations: 8 kB / 0.7942 GB, free: 3.344 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.8382, allocations: 47.92 kB / 0.7942 GB, free: 3.297 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.8384, allocations: 80.78 kB / 0.7943 GB, free: 3.219 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.8385, allocations: 43.59 kB / 0.7944 GB, free: 3.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002079/0.8406, allocations: 1.884 MB / 0.7962 GB, free: 1.301 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003893/0.8445, allocations: 0.8008 MB / 0.797 GB, free: 0.5 MB / 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.000362/0.8448, allocations: 135.9 kB / 0.7971 GB, free: 368 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007084/0.8519, allocations: 5.037 MB / 0.802 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.852, allocations: 0 / 0.802 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00264/0.8546, allocations: 1.78 MB / 0.8038 GB, free: 9.547 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.8561, allocations: 287 kB / 0.804 GB, free: 9.277 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.8682, allocations: 7.315 MB / 0.8112 GB, free: 1.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003834/0.872, allocations: 3.392 MB / 0.8145 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.872, allocations: 0 / 0.8145 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of Templates: time 0.1688/1.041, allocations: 35.42 MB / 0.8491 GB, free: 174.6 MB / 0.4948 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches