Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.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.Universal,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.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,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.Universal") [: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.002353/0.002353, allocations: 178.3 kB / 8.144 MB, free: 2.074 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.702/1.702, 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.001268/0.001268, allocations: 97.02 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.2595/0.2595, allocations: 43.49 MB / 353.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.176e-05/1.19e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.273, allocations: 58.84 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1788/0.4518, allocations: 102.5 MB / 0.5655 GB, free: 12.53 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.4522, allocations: 83.45 kB / 0.5656 GB, free: 12.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.6139/1.066, allocations: 92.44 MB / 0.6559 GB, free: 108.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001964/1.066, allocations: 84.41 kB / 0.6559 GB, free: 108.2 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: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01505/1.081, allocations: 4.214 MB / 0.66 GB, free: 106.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.081, allocations: 10.56 kB / 0.6601 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02534/1.107, allocations: 2.91 MB / 0.6629 GB, free: 106 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01682/1.124, allocations: 4.526 MB / 0.6673 GB, free: 105.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000312/1.124, allocations: 147.2 kB / 0.6675 GB, free: 105.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002858/1.127, allocations: 257.3 kB / 0.6677 GB, free: 105.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02079/1.148, allocations: 8.367 MB / 0.6759 GB, free: 105.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03043/1.178, allocations: 10.92 MB / 0.6865 GB, free: 101.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003041/1.179, allocations: 37.03 kB / 0.6866 GB, free: 101.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002561/1.181, allocations: 14.75 kB / 0.6866 GB, free: 101.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00299/1.184, allocations: 1.411 MB / 0.688 GB, free: 101.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08817/1.272, allocations: 39.27 MB / 0.7263 GB, free: 75.39 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009247/1.282, allocations: 5.222 MB / 0.7314 GB, free: 70.39 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006313/1.288, allocations: 3.081 MB / 0.7344 GB, free: 67.56 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02868/1.317, allocations: 11.67 MB / 0.7458 GB, free: 56.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/1.317, allocations: 49.22 kB / 0.7459 GB, free: 56.67 MB / 474.7 MB Notification: Performance of pre-optimization done (n=219): time 6.242e-06/1.317, allocations: 0 / 0.7459 GB, free: 56.67 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.05837/1.375, allocations: 16.09 MB / 0.7616 GB, free: 41.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/1.375, allocations: 69.41 kB / 0.7616 GB, free: 41.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006294/1.382, allocations: 2.713 MB / 0.7643 GB, free: 38.67 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007385/1.382, allocations: 25.7 kB / 0.7643 GB, free: 38.64 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002159/1.385, allocations: 3.085 MB / 0.7673 GB, free: 35.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001601/1.386, allocations: 0.8979 MB / 0.7682 GB, free: 34.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008566/1.387, allocations: 0 / 0.7682 GB, free: 34.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005473/1.388, allocations: 0.5833 MB / 0.7688 GB, free: 34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006904/1.395, allocations: 2.828 MB / 0.7715 GB, free: 31.17 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009144/1.404, allocations: 6.206 MB / 0.7776 GB, free: 23.27 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009336/1.413, allocations: 4.227 MB / 0.7817 GB, free: 19.04 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-05/1.413, allocations: 36 kB / 0.7818 GB, free: 19 MB / 474.7 MB Notification: Performance of matching and sorting (n=831) (initialization): time 0.02844/1.442, allocations: 9.431 MB / 0.791 GB, free: 9.574 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.442, allocations: 8 kB / 0.791 GB, free: 9.566 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001503/1.442, allocations: 123.9 kB / 0.7911 GB, free: 9.445 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006735/1.449, allocations: 1.281 MB / 0.7923 GB, free: 8.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01051/1.459, allocations: 1.427 MB / 0.7937 GB, free: 6.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/1.475, allocations: 7.007 MB / 0.8006 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00689/1.482, allocations: 219.9 kB / 0.8008 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001869/1.484, allocations: 375.1 kB / 0.8012 GB, free: 15.03 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * Number of states: 0 () * Number of discrete variables: 30 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (761): * Single equations (assignments): 754 * Array equations: 6 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001659/1.486, allocations: 342.3 kB / 0.8015 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009192/1.487, allocations: 292.2 kB / 0.8018 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02198/1.509, allocations: 5.978 MB / 0.8076 GB, free: 8.406 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001685/1.509, allocations: 39.98 kB / 0.8076 GB, free: 8.367 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/1.509, allocations: 4 kB / 0.8076 GB, free: 8.363 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-05/1.509, allocations: 11.88 kB / 0.8076 GB, free: 8.352 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04019/1.549, allocations: 11.32 MB / 0.8187 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-05/1.549, allocations: 0 / 0.8187 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004455/1.554, allocations: 359.5 kB / 0.819 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007208/1.561, allocations: 1.101 MB / 0.8201 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007266/1.562, allocations: 7.984 kB / 0.8201 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01639/1.578, allocations: 5.916 MB / 0.8259 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.578, allocations: 4 kB / 0.8259 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1951/1.774, allocations: 9.062 MB / 0.8348 GB, free: 176.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002852/1.776, allocations: 0.7835 MB / 0.8355 GB, free: 176.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001207/1.778, allocations: 6.844 kB / 0.8355 GB, free: 176.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003743/1.782, allocations: 103.1 kB / 0.8356 GB, free: 176.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008084/1.782, allocations: 97.11 kB / 0.8357 GB, free: 176.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000324/1.783, allocations: 59.33 kB / 0.8358 GB, free: 176.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004398/1.787, allocations: 1.785 MB / 0.8375 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007149/1.794, allocations: 0.9956 MB / 0.8385 GB, free: 176.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (186): * Single equations (assignments): 179 * Array equations: 6 * 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%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009456/1.795, allocations: 151.5 kB / 0.8386 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01468/1.81, allocations: 6.613 MB / 0.8451 GB, free: 176.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.81, allocations: 0 / 0.8451 GB, free: 176.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006522/1.817, allocations: 2.609 MB / 0.8476 GB, free: 176.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/1.819, allocations: 217.8 kB / 0.8479 GB, free: 176.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03259/1.852, allocations: 9.771 MB / 0.8574 GB, free: 174.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009203/1.861, allocations: 3.967 MB / 0.8613 GB, free: 173.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.693e-06/1.861, allocations: 0 / 0.8613 GB, free: 173.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.1407/2.002, allocations: 81.67 MB / 0.941 GB, free: 126.5 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches