Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009204/0.0009204, allocations: 187.8 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.028/1.028, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007801/0.0007801, allocations: 94.03 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1525/0.1525, allocations: 43.49 MB / 352.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.009e-06/5.029e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1973, allocations: 58.84 MB / 476.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.3187, allocations: 106.9 MB / 0.5698 GB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.3189, allocations: 75.95 kB / 0.5699 GB, free: 7.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5202/0.8391, allocations: 173.9 MB / 0.7397 GB, free: 51.16 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003133/0.8394, allocations: 179.6 kB / 0.7398 GB, free: 50.99 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: 3271 * Number of variables: 3271 Notification: Performance of Generate backend data structure: time 0.02051/0.86, allocations: 8.74 MB / 0.7484 GB, free: 42.19 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.86, allocations: 12.03 kB / 0.7484 GB, free: 42.18 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0338/0.8938, allocations: 9.463 MB / 0.7576 GB, free: 32.68 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01967/0.9135, allocations: 9.949 MB / 0.7673 GB, free: 22.74 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003474/0.9139, allocations: 300 kB / 0.7676 GB, free: 22.45 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004134/0.918, allocations: 0.5543 MB / 0.7682 GB, free: 21.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0203/0.9384, allocations: 13.33 MB / 0.7812 GB, free: 8.555 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03327/0.9717, allocations: 19.6 MB / 0.8003 GB, free: 3.297 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003458/0.9721, allocations: 107 kB / 0.8004 GB, free: 3.191 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001371/0.9734, allocations: 52 kB / 0.8005 GB, free: 3.141 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002546/0.976, allocations: 2.235 MB / 0.8027 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2093/1.185, allocations: 89.05 MB / 0.8896 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007651/1.193, allocations: 8.259 MB / 0.8977 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004947/1.198, allocations: 5.972 MB / 0.9035 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01799/1.216, allocations: 15.38 MB / 0.9185 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/1.216, allocations: 74.47 kB / 0.9186 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=394): time 5.63e-06/1.216, allocations: 0 / 0.9186 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=460): time 0.06298/1.279, allocations: 38.15 MB / 0.9559 GB, free: 87.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/1.279, allocations: 278.3 kB / 0.9561 GB, free: 87.67 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007836/1.287, allocations: 5.683 MB / 0.9617 GB, free: 85.63 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008174/1.288, allocations: 25.7 kB / 0.9617 GB, free: 85.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001904/1.29, allocations: 5.704 MB / 0.9673 GB, free: 81.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001429/1.291, allocations: 1.648 MB / 0.9689 GB, free: 80.03 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004756/1.292, allocations: 0 / 0.9689 GB, free: 80.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000401/1.292, allocations: 0.7956 MB / 0.9697 GB, free: 79.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005723/1.298, allocations: 4.938 MB / 0.9745 GB, free: 77.78 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006919/1.305, allocations: 11.23 MB / 0.9855 GB, free: 67.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007034/1.312, allocations: 7.398 MB / 0.9927 GB, free: 61.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.095e-05/1.312, allocations: 64 kB / 0.9927 GB, free: 61.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1509) (initialization): time 0.02129/1.333, allocations: 16.9 MB / 1.009 GB, free: 47.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/1.333, allocations: 15.91 kB / 1.009 GB, free: 47.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001378/1.333, allocations: 224 kB / 1.009 GB, free: 46.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004932/1.338, allocations: 2.375 MB / 1.012 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007953/1.346, allocations: 2.703 MB / 1.014 GB, free: 42.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01598/1.362, allocations: 15.52 MB / 1.03 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007824/1.37, allocations: 389 kB / 1.03 GB, free: 28.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009076/1.371, allocations: 0.6702 MB / 1.031 GB, free: 27.87 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1017 * Number of states: 0 () * Number of discrete variables: 75 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1413): * Single equations (assignments): 1407 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001243/1.372, allocations: 0.6779 MB / 1.031 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008089/1.373, allocations: 0.6325 MB / 1.032 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/1.387, allocations: 10.18 MB / 1.042 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.554e-05/1.387, allocations: 44 kB / 1.042 GB, free: 18.17 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/1.387, allocations: 12 kB / 1.042 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.128e-05/1.387, allocations: 26.36 kB / 1.042 GB, free: 18.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02723/1.414, allocations: 20.35 MB / 1.062 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/1.414, allocations: 4 kB / 1.062 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004031/1.418, allocations: 0.7815 MB / 1.063 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1357/1.554, allocations: 1.997 MB / 1.065 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008375/1.555, allocations: 15.42 kB / 1.065 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01509/1.57, allocations: 14.36 MB / 1.079 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.57, allocations: 3.797 kB / 1.079 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01984/1.59, allocations: 16.49 MB / 1.095 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003332/1.593, allocations: 1.423 MB / 1.096 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001291/1.594, allocations: 4.75 kB / 1.096 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003434/1.598, allocations: 188.9 kB / 1.096 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000523/1.598, allocations: 209.8 kB / 1.096 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003574/1.599, allocations: 122 kB / 1.097 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.005066/1.604, allocations: 3.842 MB / 1.1 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009184/1.613, allocations: 1.943 MB / 1.102 GB, free: 134.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (389): * Single equations (assignments): 383 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(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.0007024/1.614, allocations: 167.4 kB / 1.102 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01634/1.63, allocations: 12.28 MB / 1.114 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.63, allocations: 2.25 kB / 1.114 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006746/1.637, allocations: 5.034 MB / 1.119 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003519/1.64, allocations: 0.6609 MB / 1.12 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03033/1.671, allocations: 18.24 MB / 1.138 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0103/1.681, allocations: 7.128 MB / 1.145 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/1.681, allocations: 1.406 kB / 1.145 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.132/1.813, allocations: 89.49 MB / 1.232 GB, free: 61.41 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForceAndTorque/WorldForceAndTorque.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches