Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") [: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.001846/0.001846, allocations: 204 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.192/1.192, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008682/0.0008682, allocations: 91.86 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1752/0.1752, allocations: 45.14 MB / 383.3 MB, free: 0.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.021e-06/6.041e-06, allocations: 4 kB / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0977/0.09772, allocations: 63.24 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3344/0.4322, allocations: 108.3 MB / 0.6095 GB, free: 11.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.4325, allocations: 78.33 kB / 0.6096 GB, free: 11.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2862/0.7187, allocations: 107 MB / 0.7141 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004394/0.7192, allocations: 104 kB / 0.7141 GB, free: 8.102 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01806/0.7373, allocations: 5.14 MB / 0.7192 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.7373, allocations: 8.031 kB / 0.7192 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02819/0.7656, allocations: 6.501 MB / 0.7255 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01598/0.7816, allocations: 5.776 MB / 0.7312 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003205/0.7819, allocations: 160 kB / 0.7313 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002372/0.7843, allocations: 303.8 kB / 0.7316 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01404/0.7984, allocations: 7.025 MB / 0.7385 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02547/0.8239, allocations: 11.09 MB / 0.7493 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003755/0.8243, allocations: 79.27 kB / 0.7494 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001882/0.8262, allocations: 36 kB / 0.7494 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001855/0.8281, allocations: 1.214 MB / 0.7506 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2369/1.065, allocations: 55.55 MB / 0.8048 GB, free: 150 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003728/1.069, allocations: 3.423 MB / 0.8082 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/1.071, allocations: 2.122 MB / 0.8103 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00963/1.081, allocations: 6.122 MB / 0.8162 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/1.081, allocations: 56.94 kB / 0.8163 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=145): time 6.883e-06/1.081, allocations: 0 / 0.8163 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=159): time 0.02767/1.108, allocations: 14.46 MB / 0.8304 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/1.108, allocations: 202 kB / 0.8306 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005781/1.114, allocations: 3.995 MB / 0.8345 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003335/1.115, allocations: 25.7 kB / 0.8345 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001693/1.116, allocations: 3.563 MB / 0.838 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007013/1.117, allocations: 0.6312 MB / 0.8386 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/1.117, allocations: 0 / 0.8386 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000289/1.118, allocations: 0.5921 MB / 0.8392 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/1.12, allocations: 1.944 MB / 0.8411 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004017/1.124, allocations: 6.329 MB / 0.8473 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004367/1.128, allocations: 3.52 MB / 0.8507 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-05/1.128, allocations: 47.34 kB / 0.8508 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=891) (initialization): time 0.01468/1.143, allocations: 7.554 MB / 0.8581 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/1.143, allocations: 5.281 kB / 0.8581 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004797/1.144, allocations: 163.8 kB / 0.8583 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002155/1.146, allocations: 0.5811 MB / 0.8589 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006642/1.152, allocations: 1.536 MB / 0.8604 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006321/1.159, allocations: 5.301 MB / 0.8655 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005758/1.165, allocations: 195.4 kB / 0.8657 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/1.166, allocations: 437.8 kB / 0.8662 GB, free: 121.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * Number of states: 0 () * Number of discrete variables: 49 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce2.color[3],frameForce2.color[2],frameForce2.color[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],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce1.color[3],frameForce1.color[2],frameForce1.color[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],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 (841): * Single equations (assignments): 836 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002222/1.168, allocations: 0.4922 MB / 0.8666 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/1.17, allocations: 406.8 kB / 0.867 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004906/1.174, allocations: 2.331 MB / 0.8693 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.103e-05/1.175, allocations: 12 kB / 0.8693 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-05/1.175, allocations: 4 kB / 0.8693 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/1.175, allocations: 11.55 kB / 0.8693 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/1.19, allocations: 6.092 MB / 0.8753 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/1.19, allocations: 0 / 0.8753 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/1.191, allocations: 209 kB / 0.8755 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/1.192, allocations: 338.9 kB / 0.8758 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002408/1.192, allocations: 4 kB / 0.8758 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004566/1.197, allocations: 4.623 MB / 0.8803 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.197, allocations: 3.938 kB / 0.8803 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006025/1.203, allocations: 4.597 MB / 0.8848 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.204, allocations: 438.5 kB / 0.8852 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/1.205, allocations: 4 kB / 0.8852 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.207, allocations: 31.39 kB / 0.8853 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/1.207, allocations: 69.91 kB / 0.8853 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/1.208, allocations: 44 kB / 0.8854 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.006037/1.214, allocations: 2.705 MB / 0.888 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007858/1.222, allocations: 0.9516 MB / 0.8889 GB, free: 100.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 114 * 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 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007598/1.222, allocations: 139.5 kB / 0.8891 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008382/1.231, allocations: 4.75 MB / 0.8937 GB, free: 96.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/1.231, allocations: 7.625 kB / 0.8937 GB, free: 96.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002076/1.233, allocations: 1.35 MB / 0.895 GB, free: 95.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003377/1.236, allocations: 488.6 kB / 0.8955 GB, free: 94.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0234/1.26, allocations: 8.604 MB / 0.9039 GB, free: 86.94 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009689/1.27, allocations: 4.257 MB / 0.9081 GB, free: 83.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/1.27, allocations: 3.938 kB / 0.9081 GB, free: 83.69 MB / 0.5261 GB Notification: Performance of Templates: time 0.0775/1.347, allocations: 37.68 MB / 0.9449 GB, free: 52.25 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches