Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") [: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.001785/0.001785, allocations: 191.5 kB / 8.533 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, 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.0008848/0.0008846, allocations: 91.92 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.173/0.173, allocations: 45.14 MB / 383.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.201e-06/6.242e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 63.24 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3378/0.4501, allocations: 108.1 MB / 0.6094 GB, free: 11.28 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.4504, allocations: 76.45 kB / 0.6094 GB, free: 11.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2931/0.7435, allocations: 120.2 MB / 0.7268 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002935/0.7438, allocations: 127.9 kB / 0.727 GB, free: 10.86 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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.02033/0.7642, allocations: 5.993 MB / 0.7328 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.7642, allocations: 8.031 kB / 0.7328 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02721/0.7915, allocations: 6.621 MB / 0.7393 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01624/0.8077, allocations: 6.06 MB / 0.7452 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003275/0.8081, allocations: 196 kB / 0.7454 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002508/0.8106, allocations: 367.8 kB / 0.7458 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2015/1.012, allocations: 8.686 MB / 0.7542 GB, free: 176 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02188/1.034, allocations: 13.24 MB / 0.7672 GB, free: 172.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002433/1.034, allocations: 81.17 kB / 0.7672 GB, free: 172.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00102/1.035, allocations: 36.41 kB / 0.7673 GB, free: 172.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001439/1.037, allocations: 1.455 MB / 0.7687 GB, free: 172.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05948/1.096, allocations: 63.61 MB / 0.8308 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005932/1.102, allocations: 5.161 MB / 0.8359 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003742/1.106, allocations: 3.55 MB / 0.8393 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01291/1.119, allocations: 9.03 MB / 0.8481 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/1.119, allocations: 57.5 kB / 0.8482 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=212): time 5.159e-06/1.119, allocations: 0 / 0.8482 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=254): time 0.048/1.167, allocations: 23.88 MB / 0.8715 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/1.167, allocations: 205.7 kB / 0.8717 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006008/1.173, allocations: 4.02 MB / 0.8756 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005938/1.174, allocations: 29.5 kB / 0.8757 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001883/1.176, allocations: 3.917 MB / 0.8795 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00123/1.177, allocations: 0.9445 MB / 0.8804 GB, free: 111 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003356/1.177, allocations: 0 / 0.8804 GB, free: 111 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003152/1.178, allocations: 0.6311 MB / 0.881 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00362/1.181, allocations: 3.095 MB / 0.884 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005881/1.187, allocations: 7.651 MB / 0.8915 GB, free: 98.42 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00677/1.194, allocations: 4.821 MB / 0.8962 GB, free: 94.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.516e-05/1.194, allocations: 48 kB / 0.8963 GB, free: 94.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1008) (initialization): time 0.02129/1.215, allocations: 11.02 MB / 0.907 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/1.215, allocations: 4 kB / 0.907 GB, free: 84.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003007/1.216, allocations: 160 kB / 0.9072 GB, free: 84.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004314/1.22, allocations: 1.598 MB / 0.9088 GB, free: 83.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006839/1.227, allocations: 1.817 MB / 0.9105 GB, free: 82.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/1.239, allocations: 10.34 MB / 0.9206 GB, free: 72.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008218/1.247, allocations: 258.1 kB / 0.9209 GB, free: 72.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001799/1.249, allocations: 474.5 kB / 0.9213 GB, free: 72.03 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 743 * Number of states: 0 () * Number of discrete variables: 62 (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.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (936): * Single equations (assignments): 931 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00119/1.25, allocations: 0.5189 MB / 0.9218 GB, free: 71.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/1.251, allocations: 430.5 kB / 0.9222 GB, free: 71.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009007/1.26, allocations: 5.907 MB / 0.928 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.278e-05/1.26, allocations: 28 kB / 0.928 GB, free: 66.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/1.26, allocations: 11.91 kB / 0.928 GB, free: 66.26 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.099e-05/1.26, allocations: 13.97 kB / 0.9281 GB, free: 66.26 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02172/1.282, allocations: 12.24 MB / 0.94 GB, free: 56.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.089e-05/1.282, allocations: 4 kB / 0.94 GB, free: 56.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002811/1.285, allocations: 450.5 kB / 0.9404 GB, free: 55.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003648/1.289, allocations: 1.309 MB / 0.9417 GB, free: 55.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005318/1.289, allocations: 5.5 kB / 0.9417 GB, free: 55.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/1.301, allocations: 9.654 MB / 0.9511 GB, free: 45.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.301, allocations: 0 / 0.9511 GB, free: 45.39 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01319/1.314, allocations: 9.904 MB / 0.9608 GB, free: 35.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.316, allocations: 463.3 kB / 0.9613 GB, free: 34.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/1.317, allocations: 3.938 kB / 0.9613 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002271/1.319, allocations: 123.8 kB / 0.9614 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003328/1.319, allocations: 117.8 kB / 0.9615 GB, free: 34.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002182/1.32, allocations: 59.94 kB / 0.9616 GB, free: 34.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.004129/1.324, allocations: 2.712 MB / 0.9642 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008325/1.332, allocations: 1.256 MB / 0.9654 GB, free: 30.66 MB / 0.5261 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 (196): * Single equations (assignments): 191 * 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.0007268/1.333, allocations: 156.8 kB / 0.9656 GB, free: 30.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01218/1.345, allocations: 7.647 MB / 0.973 GB, free: 22.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.345, allocations: 4 kB / 0.9731 GB, free: 22.88 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004677/1.35, allocations: 3.005 MB / 0.976 GB, free: 19.85 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003056/1.353, allocations: 0.4984 MB / 0.9765 GB, free: 19.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02339/1.376, allocations: 11.59 MB / 0.9878 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007305/1.384, allocations: 4.88 MB / 0.9926 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of SimCode: time 1.182e-06/1.384, allocations: 0 / 0.9926 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of Templates: time 0.2952/1.679, allocations: 56.14 MB / 1.047 GB, free: 153.2 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches