Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) [: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.0009999/0.001, allocations: 181.9 kB / 8.52 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 221.4 MB / 230.3 MB, free: 7.715 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009609/0.0009609, allocations: 90.09 kB / 281.2 MB, free: 5.531 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1641/0.1641, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1878/0.352, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.4466, allocations: 61.91 MB / 0.4942 GB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2803/0.727, allocations: 109.6 MB / 0.6012 GB, free: 3.109 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.7273, allocations: 75.95 kB / 0.6012 GB, free: 3.035 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.2203/0.9476, allocations: 84.83 MB / 0.6841 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.9476, allocations: 11.94 kB / 0.6841 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01686/0.9645, allocations: 3.995 MB / 0.688 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/0.9765, allocations: 4.425 MB / 0.6923 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.9767, allocations: 136 kB / 0.6924 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001563/0.9783, allocations: 251.9 kB / 0.6927 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1496/1.128, allocations: 5.698 MB / 0.6982 GB, free: 174.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01218/1.14, allocations: 8.893 MB / 0.7069 GB, free: 172.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/1.14, allocations: 53.09 kB / 0.707 GB, free: 172.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004871/1.141, allocations: 26.69 kB / 0.707 GB, free: 172.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007906/1.142, allocations: 0.9077 MB / 0.7079 GB, free: 172.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03196/1.174, allocations: 42.15 MB / 0.7491 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/1.176, allocations: 2.192 MB / 0.7512 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/1.177, allocations: 1.252 MB / 0.7524 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00565/1.183, allocations: 4.374 MB / 0.7567 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/1.183, allocations: 48.81 kB / 0.7567 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=116): time 3.537e-06/1.183, allocations: 0 / 0.7567 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=134): time 0.01574/1.199, allocations: 9.662 MB / 0.7662 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/1.199, allocations: 205.5 kB / 0.7664 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003337/1.202, allocations: 2.841 MB / 0.7691 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/1.202, allocations: 29.27 kB / 0.7692 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001007/1.203, allocations: 2.842 MB / 0.7719 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003881/1.204, allocations: 0.5234 MB / 0.7725 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/1.204, allocations: 0 / 0.7725 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002154/1.204, allocations: 0.5278 MB / 0.773 GB, free: 133 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/1.206, allocations: 1.553 MB / 0.7745 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00266/1.208, allocations: 5.075 MB / 0.7794 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/1.211, allocations: 2.807 MB / 0.7822 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.823e-05/1.211, allocations: 42.12 kB / 0.7822 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.008286/1.22, allocations: 5.899 MB / 0.788 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/1.22, allocations: 4.125 kB / 0.788 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001597/1.22, allocations: 128.3 kB / 0.7881 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008379/1.221, allocations: 381.7 kB / 0.7885 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003998/1.225, allocations: 1.279 MB / 0.7897 GB, free: 124 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002884/1.228, allocations: 2.82 MB / 0.7925 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003669/1.231, allocations: 189.4 kB / 0.7927 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005866/1.232, allocations: 342.9 kB / 0.793 GB, free: 122.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (673): * Single equations (assignments): 669 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006502/1.233, allocations: 427 kB / 0.7934 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005182/1.233, allocations: 283.8 kB / 0.7937 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/1.236, allocations: 1.607 MB / 0.7952 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.122e-05/1.236, allocations: 12 kB / 0.7952 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.236, allocations: 0 / 0.7952 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.236, allocations: 11.27 kB / 0.7953 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007109/1.243, allocations: 4.548 MB / 0.7997 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/1.243, allocations: 4 kB / 0.7997 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/1.244, allocations: 215.4 kB / 0.7999 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005052/1.244, allocations: 189.5 kB / 0.8001 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.32e-05/1.245, allocations: 9.484 kB / 0.8001 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/1.247, allocations: 2.396 MB / 0.8024 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.247, allocations: 0 / 0.8024 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003775/1.251, allocations: 3.595 MB / 0.8059 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004812/1.255, allocations: 5.198 MB / 0.811 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000547/1.256, allocations: 329.1 kB / 0.8113 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/1.256, allocations: 7.703 kB / 0.8113 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.257, allocations: 57.64 kB / 0.8114 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/1.258, allocations: 76.91 kB / 0.8115 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.701e-05/1.258, allocations: 35.28 kB / 0.8115 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002552/1.26, allocations: 1.902 MB / 0.8134 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004613/1.265, allocations: 0.7238 MB / 0.8141 GB, free: 103.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 97 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003356/1.265, allocations: 139.9 kB / 0.8142 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004608/1.27, allocations: 3.706 MB / 0.8178 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.27, allocations: 0 / 0.8178 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/1.271, allocations: 1.014 MB / 0.8188 GB, free: 99.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/1.273, allocations: 317.7 kB / 0.8191 GB, free: 98.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/1.284, allocations: 6.558 MB / 0.8255 GB, free: 92.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00359/1.288, allocations: 3.496 MB / 0.8289 GB, free: 90.21 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/1.288, allocations: 0 / 0.8289 GB, free: 90.21 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1)