Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [: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.002742/0.002743, allocations: 172 kB / 8.144 MB, free: 2.211 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.759/1.759, 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.001294/0.001293, allocations: 97.41 kB / 261.8 MB, free: 13.61 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.3069/0.3069, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.18e-05/1.21e-05, allocations: 4 kB / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2895, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/0.4804, allocations: 108.6 MB / 0.5714 GB, free: 6.453 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.4806, allocations: 79.45 kB / 0.5715 GB, free: 6.379 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.7167/1.197, allocations: 122.7 MB / 0.6914 GB, free: 102.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004348/1.198, allocations: 118.5 kB / 0.6915 GB, free: 102.7 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02949/1.227, allocations: 6.166 MB / 0.6975 GB, free: 99.74 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/1.227, allocations: 13.44 kB / 0.6975 GB, free: 99.74 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06021/1.288, allocations: 7.636 MB / 0.705 GB, free: 96.96 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03091/1.319, allocations: 7.431 MB / 0.7122 GB, free: 93 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005194/1.319, allocations: 191.3 kB / 0.7124 GB, free: 93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004267/1.323, allocations: 351.8 kB / 0.7127 GB, free: 92.99 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02773/1.351, allocations: 10.43 MB / 0.7229 GB, free: 82.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04054/1.392, allocations: 14.36 MB / 0.737 GB, free: 67.39 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005199/1.392, allocations: 67.31 kB / 0.737 GB, free: 67.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003736/1.396, allocations: 36 kB / 0.7371 GB, free: 67.29 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003297/1.4, allocations: 1.732 MB / 0.7387 GB, free: 65.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1071/1.507, allocations: 62.46 MB / 0.7997 GB, free: 1.781 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/1.517, allocations: 4.686 MB / 0.8043 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008841/1.526, allocations: 3.631 MB / 0.8079 GB, free: 9.316 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04657/1.573, allocations: 15.52 MB / 0.823 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.555e-05/1.573, allocations: 68.48 kB / 0.8231 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=295): time 8.325e-06/1.573, allocations: 4 kB / 0.8231 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of matching and sorting (n=345): time 0.3156/1.889, allocations: 29.22 MB / 0.8516 GB, free: 174.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.984e-05/1.889, allocations: 212.4 kB / 0.8518 GB, free: 174.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01271/1.901, allocations: 4.367 MB / 0.8561 GB, free: 173.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009944/1.903, allocations: 25.7 kB / 0.8561 GB, free: 173.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003405/1.906, allocations: 4.091 MB / 0.8601 GB, free: 171 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002331/1.908, allocations: 1.235 MB / 0.8613 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001473/1.91, allocations: 0 / 0.8613 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000942/1.911, allocations: 0.7049 MB / 0.862 GB, free: 169.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01204/1.923, allocations: 4.556 MB / 0.8665 GB, free: 169.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0155/1.938, allocations: 9.745 MB / 0.876 GB, free: 161.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01536/1.954, allocations: 6.615 MB / 0.8824 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002311/1.954, allocations: 55.19 kB / 0.8825 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1206) (initialization): time 0.07688/2.031, allocations: 17.57 MB / 0.8996 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/2.031, allocations: 11.97 kB / 0.8997 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004009/2.032, allocations: 185.6 kB / 0.8998 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0458/2.077, allocations: 5.306 MB / 0.905 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01546/2.093, allocations: 2.099 MB / 0.9071 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04788/2.141, allocations: 21 MB / 0.9276 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01054/2.151, allocations: 312.7 kB / 0.9279 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002829/2.154, allocations: 0.5284 MB / 0.9284 GB, free: 133.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 841 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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 (1115): * Single equations (assignments): 1107 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,66.7%) 41} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004053/2.158, allocations: 0.4884 MB / 0.9289 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/2.16, allocations: 481.7 kB / 0.9293 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06/2.22, allocations: 12.08 MB / 0.9411 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001774/2.22, allocations: 51.7 kB / 0.9412 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.726e-05/2.22, allocations: 11.91 kB / 0.9412 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.785e-05/2.22, allocations: 14.48 kB / 0.9412 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08656/2.307, allocations: 22.54 MB / 0.9632 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.922e-05/2.307, allocations: 4 kB / 0.9632 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006207/2.313, allocations: 0.5149 MB / 0.9637 GB, free: 102 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03811/2.351, allocations: 4.331 MB / 0.9679 GB, free: 97.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009586/2.352, allocations: 11.98 kB / 0.968 GB, free: 97.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03853/2.391, allocations: 16.82 MB / 0.9844 GB, free: 80.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/2.391, allocations: 7.984 kB / 0.9844 GB, free: 80.63 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06286/2.454, allocations: 17.3 MB / 1.001 GB, free: 63.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004676/2.459, allocations: 1.201 MB / 1.002 GB, free: 61.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002279/2.461, allocations: 8 kB / 1.002 GB, free: 61.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006482/2.468, allocations: 135.8 kB / 1.003 GB, free: 61.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001278/2.469, allocations: 161.2 kB / 1.003 GB, free: 61.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005223/2.469, allocations: 90.44 kB / 1.003 GB, free: 61.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.007679/2.477, allocations: 2.92 MB / 1.006 GB, free: 58.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01184/2.489, allocations: 1.483 MB / 1.007 GB, free: 57.06 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 252 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001302/2.49, allocations: 160.6 kB / 1.007 GB, free: 56.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02406/2.514, allocations: 10.33 MB / 1.017 GB, free: 46.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/2.515, allocations: 4.125 kB / 1.017 GB, free: 46.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009628/2.524, allocations: 3.922 MB / 1.021 GB, free: 42.65 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005066/2.529, allocations: 455.1 kB / 1.022 GB, free: 42.22 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04575/2.575, allocations: 14.42 MB / 1.036 GB, free: 27.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1987/2.774, allocations: 5.173 MB / 1.041 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.843e-06/2.774, allocations: 0 / 1.041 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.2499/3.024, allocations: 148.4 MB / 1.186 GB, free: 67.97 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches