Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.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.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") [: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.001689/0.001689, allocations: 170.8 kB / 8.147 MB, free: 2.215 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.724/1.724, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001273/0.001272, allocations: 86.45 kB / 261.8 MB, free: 13.62 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.2603/0.2603, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.556e-06/8.666e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2702, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.4554, allocations: 106.2 MB / 0.5691 GB, free: 8.816 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.4557, allocations: 71.97 kB / 0.5692 GB, free: 8.746 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.6603/1.116, allocations: 111.3 MB / 0.6778 GB, free: 86.63 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000352/1.116, allocations: 106.4 kB / 0.6779 GB, free: 86.63 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02069/1.137, allocations: 5.42 MB / 0.6832 GB, free: 84.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.137, allocations: 7.25 kB / 0.6832 GB, free: 84.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04727/1.184, allocations: 6.586 MB / 0.6897 GB, free: 83.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02626/1.211, allocations: 6.938 MB / 0.6964 GB, free: 82.94 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000407/1.211, allocations: 178.4 kB / 0.6966 GB, free: 82.94 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002861/1.214, allocations: 326.5 kB / 0.6969 GB, free: 82.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02208/1.236, allocations: 7.705 MB / 0.7045 GB, free: 82.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03096/1.267, allocations: 12 MB / 0.7162 GB, free: 73.41 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003333/1.268, allocations: 78.59 kB / 0.7162 GB, free: 73.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002096/1.27, allocations: 36 kB / 0.7163 GB, free: 73.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002434/1.272, allocations: 1.348 MB / 0.7176 GB, free: 72.16 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08515/1.357, allocations: 58.76 MB / 0.775 GB, free: 13.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007153/1.365, allocations: 3.742 MB / 0.7786 GB, free: 9.207 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004791/1.369, allocations: 2.382 MB / 0.781 GB, free: 6.812 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01783/1.387, allocations: 6.974 MB / 0.7878 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.182e-05/1.387, allocations: 47.59 kB / 0.7878 GB, free: 15.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=174): time 6.372e-06/1.387, allocations: 0 / 0.7878 GB, free: 15.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=188): time 0.05902/1.446, allocations: 16.92 MB / 0.8043 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/1.447, allocations: 230.6 kB / 0.8046 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.012/1.459, allocations: 4.24 MB / 0.8087 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004958/1.459, allocations: 25.7 kB / 0.8087 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004071/1.463, allocations: 3.748 MB / 0.8124 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001493/1.465, allocations: 0.7329 MB / 0.8131 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007786/1.466, allocations: 0 / 0.8131 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006708/1.466, allocations: 0.6289 MB / 0.8137 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006517/1.473, allocations: 2.244 MB / 0.8159 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01159/1.485, allocations: 6.926 MB / 0.8227 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/1.495, allocations: 3.952 MB / 0.8265 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001457/1.495, allocations: 48.28 kB / 0.8266 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of matching and sorting (n=975) (initialization): time 0.1938/1.689, allocations: 8.298 MB / 0.8347 GB, free: 186.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/1.689, allocations: 6.812 kB / 0.8347 GB, free: 186.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002413/1.689, allocations: 170.1 kB / 0.8349 GB, free: 186.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002537/1.692, allocations: 0.6034 MB / 0.8354 GB, free: 186.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01189/1.704, allocations: 1.7 MB / 0.8371 GB, free: 186.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009551/1.713, allocations: 5.464 MB / 0.8424 GB, free: 183.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007016/1.72, allocations: 217.2 kB / 0.8426 GB, free: 183.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001569/1.722, allocations: 467.6 kB / 0.8431 GB, free: 183.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 767 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (923): * Single equations (assignments): 918 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001465/1.724, allocations: 451.1 kB / 0.8435 GB, free: 183.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/1.725, allocations: 430.2 kB / 0.8439 GB, free: 183.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008908/1.733, allocations: 2.884 MB / 0.8467 GB, free: 183.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.634e-05/1.734, allocations: 20 kB / 0.8468 GB, free: 183.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.238e-05/1.734, allocations: 4.438 kB / 0.8468 GB, free: 183.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.125e-05/1.734, allocations: 14 kB / 0.8468 GB, free: 183.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02254/1.756, allocations: 7.221 MB / 0.8538 GB, free: 183.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.556e-05/1.756, allocations: 2.812 kB / 0.8538 GB, free: 183.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003111/1.759, allocations: 263.5 kB / 0.8541 GB, free: 183.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001917/1.761, allocations: 359.3 kB / 0.8544 GB, free: 183.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004136/1.762, allocations: 6.312 kB / 0.8544 GB, free: 183.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008133/1.77, allocations: 4.774 MB / 0.8591 GB, free: 180.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.77, allocations: 0 / 0.8591 GB, free: 180.7 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0127/1.783, allocations: 5.605 MB / 0.8646 GB, free: 179.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002508/1.785, allocations: 0.7028 MB / 0.8653 GB, free: 179 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001215/1.787, allocations: 0 / 0.8653 GB, free: 179 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003306/1.79, allocations: 54.72 kB / 0.8653 GB, free: 179 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003977/1.79, allocations: 85.14 kB / 0.8654 GB, free: 179 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002065/1.791, allocations: 49 kB / 0.8654 GB, free: 179 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.007095/1.798, allocations: 2.875 MB / 0.8683 GB, free: 178 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008192/1.806, allocations: 1.038 MB / 0.8693 GB, free: 178 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 142 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005789/1.807, allocations: 147.5 kB / 0.8694 GB, free: 177.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01206/1.819, allocations: 5.465 MB / 0.8747 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.819, allocations: 2.562 kB / 0.8747 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00343/1.822, allocations: 1.629 MB / 0.8763 GB, free: 175.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003977/1.826, allocations: 470.9 kB / 0.8768 GB, free: 175.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03028/1.856, allocations: 10.2 MB / 0.8867 GB, free: 171.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01259/1.869, allocations: 4.598 MB / 0.8912 GB, free: 170.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.275e-06/1.869, allocations: 0 / 0.8912 GB, free: 170.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.1974/2.067, allocations: 115.2 MB / 1.004 GB, free: 71.26 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches