Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001041/0.001041, allocations: 202.1 kB / 8.537 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 225.5 MB / 234.4 MB, free: 3.453 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 93.23 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1869/0.1869, allocations: 45.15 MB / 383.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.324e-06/7.354e-06, allocations: 0 / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09665/0.09668, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2999/0.3966, allocations: 109.2 MB / 0.6104 GB, free: 9.977 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.3968, allocations: 83.11 kB / 0.6105 GB, free: 9.938 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3118/0.7086, allocations: 124.6 MB / 0.7321 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002738/0.7089, allocations: 124 kB / 0.7322 GB, free: 5.336 MB / 0.5105 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.01824/0.7272, allocations: 6.427 MB / 0.7385 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.7272, allocations: 8.031 kB / 0.7385 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02682/0.7541, allocations: 6.69 MB / 0.745 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01536/0.7695, allocations: 6.353 MB / 0.7512 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.7697, allocations: 204 kB / 0.7514 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002406/0.7721, allocations: 371.8 kB / 0.7518 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1566/0.9288, allocations: 8.993 MB / 0.7606 GB, free: 173.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/0.9452, allocations: 13.83 MB / 0.7741 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/0.9454, allocations: 91.92 kB / 0.7742 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006488/0.9461, allocations: 44.88 kB / 0.7742 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001486/0.9476, allocations: 1.559 MB / 0.7757 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05663/1.004, allocations: 68.68 MB / 0.8428 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00544/1.01, allocations: 5.381 MB / 0.8481 GB, free: 125 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003604/1.013, allocations: 3.699 MB / 0.8517 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01445/1.028, allocations: 9.923 MB / 0.8614 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/1.028, allocations: 55.59 kB / 0.8614 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=231): time 5.431e-06/1.028, allocations: 0 / 0.8614 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=273): time 0.04731/1.075, allocations: 25.07 MB / 0.8859 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/1.075, allocations: 239 kB / 0.8861 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006551/1.082, allocations: 4.617 MB / 0.8906 GB, free: 98.85 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007059/1.083, allocations: 25.7 kB / 0.8907 GB, free: 98.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001785/1.084, allocations: 4.213 MB / 0.8948 GB, free: 95.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001172/1.086, allocations: 1.023 MB / 0.8958 GB, free: 94.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003655/1.086, allocations: 0 / 0.8958 GB, free: 94.12 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003174/1.086, allocations: 0.6757 MB / 0.8964 GB, free: 93.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003505/1.09, allocations: 3.189 MB / 0.8995 GB, free: 90.69 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004953/1.095, allocations: 8.293 MB / 0.9076 GB, free: 80.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005246/1.1, allocations: 5.114 MB / 0.9126 GB, free: 76.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.559e-05/1.1, allocations: 55.91 kB / 0.9127 GB, free: 76.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.016/1.116, allocations: 11.62 MB / 0.924 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/1.116, allocations: 4 kB / 0.924 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000143/1.116, allocations: 180 kB / 0.9242 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003653/1.12, allocations: 1.611 MB / 0.9258 GB, free: 64.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007019/1.127, allocations: 1.993 MB / 0.9277 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/1.138, allocations: 10.13 MB / 0.9376 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005979/1.144, allocations: 278.7 kB / 0.9379 GB, free: 53.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007943/1.145, allocations: 0.5183 MB / 0.9384 GB, free: 53.24 MB / 0.5261 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.000931/1.146, allocations: 0.5662 MB / 0.9389 GB, free: 52.67 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006716/1.146, allocations: 485.7 kB / 0.9394 GB, free: 52.19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008705/1.155, allocations: 5.85 MB / 0.9451 GB, free: 47.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-05/1.155, allocations: 27.94 kB / 0.9451 GB, free: 47.42 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/1.155, allocations: 8 kB / 0.9452 GB, free: 47.41 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/1.155, allocations: 18.95 kB / 0.9452 GB, free: 47.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01884/1.174, allocations: 12.31 MB / 0.9572 GB, free: 37.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/1.174, allocations: 0 / 0.9572 GB, free: 37.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002406/1.176, allocations: 447.3 kB / 0.9576 GB, free: 37.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003414/1.18, allocations: 1.3 MB / 0.9589 GB, free: 36.13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002283/1.18, allocations: 9.312 kB / 0.9589 GB, free: 36.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/1.191, allocations: 9.49 MB / 0.9682 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.299e-06/1.191, allocations: 4 kB / 0.9682 GB, free: 26.44 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01282/1.204, allocations: 9.886 MB / 0.9778 GB, free: 16.47 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/1.205, allocations: 0.5025 MB / 0.9783 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000723/1.206, allocations: 11.11 kB / 0.9783 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/1.208, allocations: 91.86 kB / 0.9784 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/1.208, allocations: 121.8 kB / 0.9785 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002175/1.208, allocations: 67.98 kB / 0.9786 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003903/1.212, allocations: 3.123 MB / 0.9816 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005978/1.218, allocations: 1.315 MB / 0.9829 GB, free: 11.25 MB / 0.5261 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.0004502/1.219, allocations: 152.7 kB / 0.9831 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009391/1.228, allocations: 7.861 MB / 0.9907 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.228, allocations: 0 / 0.9907 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003758/1.232, allocations: 2.947 MB / 0.9936 GB, free: 288 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1567/1.388, allocations: 0.5117 MB / 0.9941 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02049/1.409, allocations: 12.16 MB / 1.006 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006727/1.416, allocations: 5.125 MB / 1.011 GB, free: 153 MB / 0.5261 GB Notification: Performance of SimCode: time 9.21e-07/1.416, allocations: 3.188 kB / 1.011 GB, free: 153 MB / 0.5261 GB Notification: Performance of Templates: time 0.09396/1.51, allocations: 58.2 MB / 1.068 GB, free: 149.3 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches