Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 190.6 kB / 7.802 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 92 kB / 261.4 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2262/0.2262, allocations: 43.48 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2364/0.4627, allocations: 64.97 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.8314, allocations: 58.83 MB / 476.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1588/0.9903, allocations: 109.3 MB / 0.5722 GB, free: 5.641 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.9906, allocations: 87.44 kB / 0.5723 GB, free: 5.559 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: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.4875/1.478, allocations: 92.57 MB / 0.6627 GB, free: 106.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.478, allocations: 8.656 kB / 0.6627 GB, free: 106.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01811/1.496, allocations: 4.08 MB / 0.6667 GB, free: 105.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/1.511, allocations: 4.806 MB / 0.6714 GB, free: 105.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/1.511, allocations: 150.3 kB / 0.6715 GB, free: 105.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002206/1.514, allocations: 273.9 kB / 0.6718 GB, free: 105.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01267/1.526, allocations: 6.485 MB / 0.6781 GB, free: 104.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02423/1.551, allocations: 9.906 MB / 0.6878 GB, free: 99.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005256/1.551, allocations: 58.56 kB / 0.6879 GB, free: 99.67 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002343/1.554, allocations: 30.62 kB / 0.6879 GB, free: 99.67 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001768/1.555, allocations: 1.058 MB / 0.6889 GB, free: 99.49 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05227/1.608, allocations: 45.52 MB / 0.7334 GB, free: 64.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004053/1.612, allocations: 2.676 MB / 0.736 GB, free: 63.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002744/1.614, allocations: 1.695 MB / 0.7376 GB, free: 62.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0105/1.625, allocations: 5.445 MB / 0.743 GB, free: 57.62 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/1.625, allocations: 52.86 kB / 0.743 GB, free: 57.57 MB / 474.7 MB Notification: Performance of pre-optimization done (n=170): time 5.731e-06/1.625, allocations: 4 kB / 0.743 GB, free: 57.56 MB / 474.7 MB Notification: Performance of matching and sorting (n=188): time 0.02586/1.651, allocations: 12.14 MB / 0.7549 GB, free: 46.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/1.651, allocations: 202.3 kB / 0.7551 GB, free: 46.42 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005926/1.657, allocations: 3.02 MB / 0.758 GB, free: 43.64 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003311/1.657, allocations: 29.7 kB / 0.758 GB, free: 43.61 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001596/1.659, allocations: 3.112 MB / 0.7611 GB, free: 40.45 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007465/1.66, allocations: 0.7017 MB / 0.7618 GB, free: 39.74 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004175/1.66, allocations: 0 / 0.7618 GB, free: 39.74 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002856/1.66, allocations: 0.5705 MB / 0.7623 GB, free: 39.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00243/1.663, allocations: 1.98 MB / 0.7642 GB, free: 37.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004075/1.667, allocations: 5.82 MB / 0.7699 GB, free: 29.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003672/1.671, allocations: 3.397 MB / 0.7732 GB, free: 26.01 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.923e-05/1.671, allocations: 40 kB / 0.7733 GB, free: 25.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=815) (initialization): time 0.009481/1.68, allocations: 7.063 MB / 0.7802 GB, free: 18.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.68, allocations: 7.984 kB / 0.7802 GB, free: 18.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/1.68, allocations: 140 kB / 0.7803 GB, free: 18.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007075/1.681, allocations: 393.3 kB / 0.7807 GB, free: 18.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00426/1.685, allocations: 1.474 MB / 0.7821 GB, free: 16.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/1.688, allocations: 2.855 MB / 0.7849 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004717/1.693, allocations: 231.8 kB / 0.7851 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006123/1.693, allocations: 384 kB / 0.7855 GB, free: 13.33 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],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 (777): * Single equations (assignments): 773 * 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.0008672/1.694, allocations: 440.5 kB / 0.7859 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004838/1.695, allocations: 319.9 kB / 0.7862 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003908/1.699, allocations: 2.568 MB / 0.7887 GB, free: 9.996 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-05/1.699, allocations: 16 kB / 0.7888 GB, free: 9.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/1.699, allocations: 7.984 kB / 0.7888 GB, free: 9.973 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/1.699, allocations: 11.97 kB / 0.7888 GB, free: 9.961 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/1.712, allocations: 6.277 MB / 0.7949 GB, free: 3.672 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/1.712, allocations: 0 / 0.7949 GB, free: 3.672 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/1.714, allocations: 339.5 kB / 0.7952 GB, free: 3.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005491/1.714, allocations: 180.7 kB / 0.7954 GB, free: 3.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002134/1.714, allocations: 11.98 kB / 0.7954 GB, free: 3.148 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/1.717, allocations: 2.414 MB / 0.7978 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.717, allocations: 0 / 0.7978 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007341/1.724, allocations: 5.101 MB / 0.8028 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009551/1.734, allocations: 7.344 MB / 0.8099 GB, free: 4.098 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/1.736, allocations: 0.5866 MB / 0.8105 GB, free: 3.488 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008845/1.736, allocations: 0 / 0.8105 GB, free: 3.488 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/1.738, allocations: 83.97 kB / 0.8106 GB, free: 3.406 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003495/1.739, allocations: 101.1 kB / 0.8107 GB, free: 3.309 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/1.739, allocations: 51.98 kB / 0.8107 GB, free: 3.258 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.006231/1.745, allocations: 2.023 MB / 0.8127 GB, free: 1.246 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007495/1.753, allocations: 0.8514 MB / 0.8135 GB, free: 404 kB / 490.7 MB 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 (158): * Single equations (assignments): 154 * 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.0007408/1.753, allocations: 150.8 kB / 0.8137 GB, free: 244 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008666/1.762, allocations: 4.734 MB / 0.8183 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.762, allocations: 0 / 0.8183 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002395/1.765, allocations: 1.491 MB / 0.8198 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/1.767, allocations: 310.2 kB / 0.8201 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01858/1.785, allocations: 7.719 MB / 0.8276 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2007/1.986, allocations: 3.842 MB / 0.8313 GB, free: 178.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.753e-06/1.986, allocations: 0 / 0.8313 GB, free: 178.4 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1)