Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2") [: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.001611/0.001615, allocations: 169.5 kB / 8.146 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.647/1.647, 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.001261/0.001262, allocations: 86.89 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.2619/0.2619, allocations: 43.48 MB / 353.2 MB, free: 2.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.738e-06/9.879e-06, allocations: 0 / 417.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2768, allocations: 58.83 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1863/0.4631, allocations: 105 MB / 0.5679 GB, free: 10.03 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.4635, allocations: 71.91 kB / 0.568 GB, free: 9.957 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.8815/1.345, allocations: 165.5 MB / 0.7296 GB, free: 77.09 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006014/1.346, allocations: 175.8 kB / 0.7298 GB, free: 76.92 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: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.03391/1.38, allocations: 8.16 MB / 0.7378 GB, free: 68.69 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.38, allocations: 8.031 kB / 0.7378 GB, free: 68.68 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08025/1.46, allocations: 11.66 MB / 0.7491 GB, free: 56.99 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03914/1.499, allocations: 11.08 MB / 0.76 GB, free: 45.93 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005389/1.5, allocations: 276 kB / 0.7602 GB, free: 45.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004404/1.504, allocations: 0.5037 MB / 0.7607 GB, free: 45.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03145/1.536, allocations: 11.87 MB / 0.7723 GB, free: 33.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04725/1.583, allocations: 17.62 MB / 0.7895 GB, free: 14.15 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006607/1.584, allocations: 107 kB / 0.7896 GB, free: 14.04 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003896/1.588, allocations: 52 kB / 0.7897 GB, free: 13.99 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003834/1.591, allocations: 1.96 MB / 0.7916 GB, free: 12.04 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3254/1.917, allocations: 81 MB / 0.8707 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/1.929, allocations: 6.389 MB / 0.8769 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008957/1.938, allocations: 4.535 MB / 0.8813 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03478/1.973, allocations: 14.01 MB / 0.895 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.382e-05/1.973, allocations: 65.62 kB / 0.8951 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=300): time 7.504e-06/1.973, allocations: 0 / 0.8951 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=327): time 0.1043/2.078, allocations: 30.89 MB / 0.9253 GB, free: 91.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/2.078, allocations: 297.5 kB / 0.9255 GB, free: 91.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01566/2.093, allocations: 5.653 MB / 0.9311 GB, free: 89.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008668/2.094, allocations: 26.8 kB / 0.9311 GB, free: 89.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004011/2.098, allocations: 5.133 MB / 0.9361 GB, free: 85.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002237/2.101, allocations: 1.209 MB / 0.9373 GB, free: 84.31 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001391/2.102, allocations: 0 / 0.9373 GB, free: 84.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000854/2.103, allocations: 0.7328 MB / 0.938 GB, free: 83.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009234/2.112, allocations: 3.446 MB / 0.9414 GB, free: 82.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01349/2.126, allocations: 9.354 MB / 0.9505 GB, free: 73.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01344/2.139, allocations: 5.64 MB / 0.956 GB, free: 71.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003788/2.14, allocations: 60.53 kB / 0.9561 GB, free: 71.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1307) (initialization): time 0.03497/2.175, allocations: 12.06 MB / 0.9678 GB, free: 62.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/2.175, allocations: 11.94 kB / 0.9679 GB, free: 62.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003559/2.175, allocations: 210.1 kB / 0.9681 GB, free: 62.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003966/2.179, allocations: 1.029 MB / 0.9691 GB, free: 61.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01576/2.195, allocations: 2.309 MB / 0.9713 GB, free: 59.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01697/2.212, allocations: 10.7 MB / 0.9818 GB, free: 49.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01004/2.222, allocations: 295.2 kB / 0.982 GB, free: 49.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002588/2.225, allocations: 0.6029 MB / 0.9826 GB, free: 48.72 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1227): * Single equations (assignments): 1220 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003019/2.228, allocations: 0.5557 MB / 0.9832 GB, free: 48.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001735/2.229, allocations: 0.6016 MB / 0.9838 GB, free: 47.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01675/2.246, allocations: 5.719 MB / 0.9894 GB, free: 42.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-05/2.246, allocations: 32 kB / 0.9894 GB, free: 42.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.107e-05/2.246, allocations: 8 kB / 0.9894 GB, free: 42.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-05/2.246, allocations: 20.97 kB / 0.9894 GB, free: 42.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03942/2.286, allocations: 13.2 MB / 1.002 GB, free: 32.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.774e-05/2.286, allocations: 0 / 1.002 GB, free: 32.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006027/2.292, allocations: 0.5167 MB / 1.003 GB, free: 31.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003558/2.296, allocations: 0.6962 MB / 1.003 GB, free: 31.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004907/2.296, allocations: 18.02 kB / 1.004 GB, free: 31.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01449/2.311, allocations: 9.516 MB / 1.013 GB, free: 21.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/2.311, allocations: 0 / 1.013 GB, free: 21.84 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0213/2.332, allocations: 9.844 MB / 1.022 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003931/2.336, allocations: 1.074 MB / 1.023 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001663/2.338, allocations: 3.797 kB / 1.023 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005065/2.343, allocations: 117.8 kB / 1.024 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005956/2.343, allocations: 151.8 kB / 1.024 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003679/2.344, allocations: 83.56 kB / 1.024 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.008804/2.352, allocations: 3.855 MB / 1.028 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01226/2.365, allocations: 1.602 MB / 1.029 GB, free: 6.832 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 263 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(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.0008589/2.366, allocations: 169.2 kB / 1.029 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.2036/2.569, allocations: 8.822 MB / 1.038 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/2.569, allocations: 2.516 kB / 1.038 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006352/2.576, allocations: 3.062 MB / 1.041 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005911/2.582, allocations: 0.715 MB / 1.042 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04431/2.626, allocations: 15.94 MB / 1.057 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0168/2.643, allocations: 6.628 MB / 1.064 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.683e-06/2.643, allocations: 0 / 1.064 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.5923/3.235, allocations: 241.3 MB / 1.299 GB, free: 100.3 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches