Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") [: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.00163/0.00163, allocations: 174.4 kB / 8.148 MB, free: 2.223 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.695/1.695, allocations: 205.2 MB / 213.7 MB, free: 13.94 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.001272/0.001271, allocations: 91.48 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.2559/0.2559, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.698e-06/9.849e-06, allocations: 4 kB / 417.7 MB, free: 40.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.277, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1833/0.4604, allocations: 106.2 MB / 0.5691 GB, free: 8.828 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.4607, allocations: 83.94 kB / 0.5692 GB, free: 8.746 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.7066/1.167, allocations: 127.2 MB / 0.6934 GB, free: 101.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004414/1.168, allocations: 130.8 kB / 0.6935 GB, free: 101.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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.02847/1.196, allocations: 6.335 MB / 0.6997 GB, free: 98.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.196, allocations: 8.469 kB / 0.6997 GB, free: 98.18 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05103/1.247, allocations: 6.717 MB / 0.7063 GB, free: 95.45 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02929/1.277, allocations: 7.338 MB / 0.7135 GB, free: 91.45 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005627/1.277, allocations: 218.8 kB / 0.7137 GB, free: 91.45 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00397/1.281, allocations: 389.7 kB / 0.714 GB, free: 91.44 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02647/1.308, allocations: 9.927 MB / 0.7237 GB, free: 82.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03975/1.348, allocations: 14.45 MB / 0.7378 GB, free: 66.78 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004437/1.348, allocations: 75.31 kB / 0.7379 GB, free: 66.71 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003407/1.352, allocations: 35.94 kB / 0.7379 GB, free: 66.67 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003165/1.355, allocations: 1.686 MB / 0.7396 GB, free: 64.99 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1091/1.464, allocations: 65.26 MB / 0.8033 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01502/1.479, allocations: 6.185 MB / 0.8094 GB, free: 8.055 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01054/1.49, allocations: 4.358 MB / 0.8136 GB, free: 3.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03441/1.524, allocations: 11.64 MB / 0.825 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/1.524, allocations: 72.55 kB / 0.8251 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=306): time 7.774e-06/1.524, allocations: 0 / 0.8251 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=349): time 0.2774/1.802, allocations: 25.86 MB / 0.8503 GB, free: 172 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.965e-05/1.802, allocations: 215.7 kB / 0.8505 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01025/1.812, allocations: 3.98 MB / 0.8544 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001024/1.813, allocations: 28.52 kB / 0.8544 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002921/1.816, allocations: 4.042 MB / 0.8584 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002304/1.819, allocations: 1.242 MB / 0.8596 GB, free: 167.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001319/1.82, allocations: 0 / 0.8596 GB, free: 167.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007381/1.821, allocations: 0.6652 MB / 0.8602 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009484/1.83, allocations: 3.563 MB / 0.8637 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01268/1.843, allocations: 8.239 MB / 0.8718 GB, free: 161.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01299/1.856, allocations: 5.384 MB / 0.877 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00019/1.856, allocations: 47.59 kB / 0.8771 GB, free: 160.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1114) (initialization): time 0.03905/1.895, allocations: 12.03 MB / 0.8888 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/1.895, allocations: 7.812 kB / 0.8888 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004954/1.896, allocations: 165.2 kB / 0.889 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01113/1.907, allocations: 1.541 MB / 0.8905 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02232/1.929, allocations: 1.964 MB / 0.8924 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03426/1.964, allocations: 10.44 MB / 0.9026 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01433/1.978, allocations: 278.4 kB / 0.9029 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003386/1.982, allocations: 0.4939 MB / 0.9033 GB, free: 150.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 755 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1042): * Single equations (assignments): 1037 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005066/1.987, allocations: 462.2 kB / 0.9038 GB, free: 149.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002316/1.989, allocations: 466 kB / 0.9042 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03382/2.023, allocations: 7.138 MB / 0.9112 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001473/2.023, allocations: 32 kB / 0.9112 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.2e-05/2.023, allocations: 12 kB / 0.9112 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001023/2.023, allocations: 15.84 kB / 0.9113 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06668/2.09, allocations: 14.65 MB / 0.9256 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.86e-05/2.09, allocations: 3.375 kB / 0.9256 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01052/2.101, allocations: 0.5684 MB / 0.9261 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0116/2.112, allocations: 1.32 MB / 0.9274 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001241/2.114, allocations: 15.8 kB / 0.9274 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02148/2.135, allocations: 9.63 MB / 0.9368 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/2.135, allocations: 4 kB / 0.9368 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02907/2.164, allocations: 11.86 MB / 0.9484 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004035/2.168, allocations: 1.028 MB / 0.9494 GB, free: 110 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001734/2.17, allocations: 10.53 kB / 0.9494 GB, free: 110 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005394/2.176, allocations: 135.4 kB / 0.9496 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009334/2.177, allocations: 156.8 kB / 0.9497 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004384/2.177, allocations: 88.17 kB / 0.9498 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.006452/2.184, allocations: 2.68 MB / 0.9524 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01048/2.194, allocations: 1.376 MB / 0.9538 GB, free: 106 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (295): * Single equations (assignments): 290 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/2.195, allocations: 164.1 kB / 0.9539 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02002/2.215, allocations: 8.679 MB / 0.9624 GB, free: 97.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/2.215, allocations: 3.938 kB / 0.9624 GB, free: 97.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01002/2.225, allocations: 3.634 MB / 0.9659 GB, free: 94.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004755/2.23, allocations: 466.1 kB / 0.9664 GB, free: 94.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04152/2.272, allocations: 13.78 MB / 0.9798 GB, free: 81.95 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01555/2.287, allocations: 5.349 MB / 0.9851 GB, free: 77.91 MB / 0.4948 GB Notification: Performance of SimCode: time 1.733e-06/2.287, allocations: 0 / 0.9851 GB, free: 77.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.4211/2.709, allocations: 142 MB / 1.124 GB, free: 124.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches