Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Force,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_4.0.0_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,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_4.0.0_ModelicaTest.MultiBody.Forces.Force") [: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 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 183.8 kB / 8.517 MB, free: 500 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 221.4 MB / 230.3 MB, free: 13.63 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 98.05 kB / 281.2 MB, free: 10.5 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1882/0.1882, allocations: 44.13 MB / 376.1 MB, free: 11.67 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 7.003e-06/7.013e-06, allocations: 0 / 444 MB, free: 54.36 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1019, allocations: 61.91 MB / 0.4941 GB, free: 8.375 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3082/0.4101, allocations: 108.3 MB / 0.5998 GB, free: 6.453 MB / 418.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.4104, allocations: 78.83 kB / 0.5999 GB, free: 6.379 MB / 418.8 MB Notification: Performance of FrontEnd: time 0.5264/0.9369, allocations: 122.1 MB / 0.7191 GB, free: 109.4 MB / 0.5027 GB Notification: Performance of Transformations before backend: time 0.000452/0.9374, allocations: 123.4 kB / 0.7192 GB, free: 109.4 MB / 0.5027 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02512/0.9625, allocations: 6.325 MB / 0.7254 GB, free: 107 MB / 0.5027 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.9626, allocations: 7.25 kB / 0.7254 GB, free: 107 MB / 0.5027 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04808/1.011, allocations: 6.689 MB / 0.7319 GB, free: 106.5 MB / 0.5027 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02479/1.036, allocations: 7.031 MB / 0.7388 GB, free: 105.7 MB / 0.5027 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003203/1.036, allocations: 200.2 kB / 0.739 GB, free: 105.7 MB / 0.5027 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002297/1.038, allocations: 373.8 kB / 0.7394 GB, free: 105.7 MB / 0.5027 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02251/1.061, allocations: 8.994 MB / 0.7481 GB, free: 105.6 MB / 0.5027 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03166/1.092, allocations: 13.84 MB / 0.7617 GB, free: 100 MB / 0.5027 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003275/1.093, allocations: 92.94 kB / 0.7617 GB, free: 100 MB / 0.5027 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001372/1.094, allocations: 42.78 kB / 0.7618 GB, free: 100 MB / 0.5027 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002798/1.097, allocations: 1.565 MB / 0.7633 GB, free: 99.78 MB / 0.5027 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07047/1.168, allocations: 68.67 MB / 0.8304 GB, free: 46.89 MB / 0.5027 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005377/1.173, allocations: 5.378 MB / 0.8356 GB, free: 41.89 MB / 0.5027 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003548/1.176, allocations: 3.703 MB / 0.8392 GB, free: 38.51 MB / 0.5027 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0143/1.191, allocations: 9.925 MB / 0.8489 GB, free: 29.95 MB / 0.5027 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/1.191, allocations: 61.48 kB / 0.849 GB, free: 29.88 MB / 0.5027 GB Notification: Performance of pre-optimization done (n=231): time 5.24e-06/1.191, allocations: 7.641 kB / 0.849 GB, free: 29.88 MB / 0.5027 GB Notification: Performance of matching and sorting (n=273): time 0.048/1.239, allocations: 25.07 MB / 0.8735 GB, free: 6.188 MB / 0.5027 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/1.239, allocations: 235.6 kB / 0.8737 GB, free: 5.906 MB / 0.5027 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005634/1.245, allocations: 4.621 MB / 0.8782 GB, free: 1.305 MB / 0.5027 GB Notification: Performance of collectPreVariables (initialization): time 0.0005597/1.245, allocations: 25.7 kB / 0.8782 GB, free: 1.273 MB / 0.5027 GB Notification: Performance of collectInitialEqns (initialization): time 0.002653/1.248, allocations: 4.206 MB / 0.8824 GB, free: 13 MB / 0.5183 GB Notification: Performance of collectInitialBindings (initialization): time 0.001602/1.25, allocations: 1.018 MB / 0.8833 GB, free: 11.97 MB / 0.5183 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004509/1.25, allocations: 0 / 0.8833 GB, free: 11.97 MB / 0.5183 GB Notification: Performance of setup shared object (initialization): time 0.000531/1.251, allocations: 0.6776 MB / 0.884 GB, free: 11.28 MB / 0.5183 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004726/1.255, allocations: 3.191 MB / 0.8871 GB, free: 8.082 MB / 0.5183 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1621/1.417, allocations: 8.291 MB / 0.8952 GB, free: 165.2 MB / 0.5183 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006735/1.424, allocations: 5.111 MB / 0.9002 GB, free: 165.1 MB / 0.5183 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000116/1.424, allocations: 53.09 kB / 0.9003 GB, free: 165.1 MB / 0.5183 GB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.02051/1.445, allocations: 11.63 MB / 0.9116 GB, free: 164.8 MB / 0.5183 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/1.445, allocations: 7.469 kB / 0.9116 GB, free: 164.8 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001913/1.445, allocations: 181 kB / 0.9118 GB, free: 164.8 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003822/1.449, allocations: 1.595 MB / 0.9134 GB, free: 164.8 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006878/1.456, allocations: 1.996 MB / 0.9153 GB, free: 164.6 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/1.467, allocations: 10.13 MB / 0.9252 GB, free: 162 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006647/1.474, allocations: 287.1 kB / 0.9255 GB, free: 162 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002053/1.476, allocations: 0.5111 MB / 0.926 GB, free: 162 MB / 0.5183 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 67 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1055): * Single equations (assignments): 1050 * 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%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001722/1.478, allocations: 0.5648 MB / 0.9265 GB, free: 161.7 MB / 0.5183 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/1.479, allocations: 486.4 kB / 0.927 GB, free: 161.7 MB / 0.5183 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009315/1.488, allocations: 5.851 MB / 0.9327 GB, free: 161.6 MB / 0.5183 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.943e-05/1.488, allocations: 26.19 kB / 0.9327 GB, free: 161.6 MB / 0.5183 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/1.488, allocations: 7.875 kB / 0.9327 GB, free: 161.6 MB / 0.5183 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.717e-05/1.488, allocations: 21.14 kB / 0.9328 GB, free: 161.6 MB / 0.5183 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/1.508, allocations: 12.29 MB / 0.9448 GB, free: 158.6 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/1.508, allocations: 7.172 kB / 0.9448 GB, free: 158.6 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00236/1.51, allocations: 450.9 kB / 0.9452 GB, free: 158.5 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003285/1.513, allocations: 1.298 MB / 0.9465 GB, free: 158.2 MB / 0.5183 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002718/1.514, allocations: 11 kB / 0.9465 GB, free: 158.2 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/1.525, allocations: 9.48 MB / 0.9557 GB, free: 153.3 MB / 0.5183 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.525, allocations: 0 / 0.9557 GB, free: 153.3 MB / 0.5183 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01285/1.538, allocations: 9.885 MB / 0.9654 GB, free: 149.6 MB / 0.5183 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/1.539, allocations: 0.5032 MB / 0.9659 GB, free: 149.3 MB / 0.5183 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000757/1.54, allocations: 7.406 kB / 0.9659 GB, free: 149.3 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/1.542, allocations: 89.8 kB / 0.966 GB, free: 149.3 MB / 0.5183 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003392/1.542, allocations: 125.3 kB / 0.9661 GB, free: 149.2 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/1.542, allocations: 69.42 kB / 0.9662 GB, free: 149.2 MB / 0.5183 GB Notification: Performance of sort global known variables: time 0.004348/1.546, allocations: 3.125 MB / 0.9692 GB, free: 148.1 MB / 0.5183 GB Notification: Performance of remove unused functions: time 0.006647/1.553, allocations: 1.312 MB / 0.9705 GB, free: 148.1 MB / 0.5183 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (217): * Single equations (assignments): 212 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004715/1.554, allocations: 154.5 kB / 0.9706 GB, free: 148 MB / 0.5183 GB Notification: Performance of simCode: created initialization part: time 0.01041/1.564, allocations: 7.863 MB / 0.9783 GB, free: 143.8 MB / 0.5183 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.564, allocations: 0 / 0.9783 GB, free: 143.8 MB / 0.5183 GB Notification: Performance of simCode: created simulation system equations: time 0.004128/1.568, allocations: 2.941 MB / 0.9812 GB, free: 141.2 MB / 0.5183 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003461/1.572, allocations: 0.5219 MB / 0.9817 GB, free: 140.7 MB / 0.5183 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02222/1.594, allocations: 12.16 MB / 0.9936 GB, free: 129.9 MB / 0.5183 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006103/1.6, allocations: 5.128 MB / 0.9986 GB, free: 126.1 MB / 0.5183 GB Notification: Performance of SimCode: time 1.093e-06/1.6, allocations: 0 / 0.9986 GB, free: 126.1 MB / 0.5183 GB Notification: Performance of Templates: time 0.09599/1.696, allocations: 58.2 MB / 1.055 GB, free: 76.68 MB / 0.5183 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches