Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",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.001262/0.001262, allocations: 185.5 kB / 7.806 MB, free: 2.488 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.4/1.4, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009582/0.0009583, allocations: 95.19 kB / 261.4 MB, free: 13.54 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.2132/0.2132, allocations: 43.48 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.24/0.4533, allocations: 64.98 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.7893, allocations: 58.83 MB / 476.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/0.9405, allocations: 104.7 MB / 0.5677 GB, free: 10.21 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.9408, allocations: 75.95 kB / 0.5678 GB, free: 10.14 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: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.4366/1.377, allocations: 81 MB / 0.6469 GB, free: 109.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/1.377, allocations: 11.25 kB / 0.6469 GB, free: 109.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/1.391, allocations: 2.739 MB / 0.6496 GB, free: 109.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006315/1.397, allocations: 2.35 MB / 0.6519 GB, free: 108.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/1.397, allocations: 130.3 kB / 0.652 GB, free: 108.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001428/1.399, allocations: 233.7 kB / 0.6522 GB, free: 108.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01112/1.41, allocations: 6.804 MB / 0.6589 GB, free: 108.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01737/1.427, allocations: 10.11 MB / 0.6687 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/1.427, allocations: 48.69 kB / 0.6688 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007234/1.428, allocations: 28.69 kB / 0.6688 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001124/1.429, allocations: 1.207 MB / 0.67 GB, free: 106.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04992/1.479, allocations: 46.13 MB / 0.715 GB, free: 72.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004073/1.483, allocations: 2.777 MB / 0.7177 GB, free: 71.12 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/1.485, allocations: 1.044 MB / 0.7188 GB, free: 70.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/1.486, allocations: 25.59 kB / 0.7188 GB, free: 70.74 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/1.486, allocations: 49.94 kB / 0.7188 GB, free: 70.69 MB / 474.7 MB Notification: Performance of pre-optimization done (n=179): time 5.511e-06/1.486, allocations: 0 / 0.7188 GB, free: 70.69 MB / 474.7 MB Notification: Performance of matching and sorting (n=179): time 0.006089/1.492, allocations: 2.477 MB / 0.7213 GB, free: 69.96 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/1.492, allocations: 175.7 kB / 0.7214 GB, free: 69.76 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009269/1.501, allocations: 3.176 MB / 0.7245 GB, free: 68.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004444/1.502, allocations: 26.73 kB / 0.7246 GB, free: 68.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003228/1.505, allocations: 3.27 MB / 0.7277 GB, free: 65.92 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001515/1.506, allocations: 0.688 MB / 0.7284 GB, free: 65.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000969/1.507, allocations: 0 / 0.7284 GB, free: 65.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001212/1.509, allocations: 0.6685 MB / 0.7291 GB, free: 64.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004092/1.513, allocations: 1.962 MB / 0.731 GB, free: 64.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007001/1.52, allocations: 6.505 MB / 0.7373 GB, free: 57.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005893/1.526, allocations: 3.681 MB / 0.7409 GB, free: 54.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002705/1.526, allocations: 48 kB / 0.741 GB, free: 54.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=928) (initialization): time 0.0161/1.542, allocations: 7.314 MB / 0.7481 GB, free: 47.86 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/1.542, allocations: 4 kB / 0.7481 GB, free: 47.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005443/1.543, allocations: 167.9 kB / 0.7483 GB, free: 47.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003807/1.543, allocations: 240 kB / 0.7485 GB, free: 47.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005677/1.549, allocations: 1.603 MB / 0.7501 GB, free: 46.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000235/1.549, allocations: 311.9 kB / 0.7504 GB, free: 45.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006193/1.555, allocations: 0.8094 MB / 0.7512 GB, free: 44.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/1.557, allocations: 439.9 kB / 0.7516 GB, free: 44.53 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * Number of states: 0 () * Number of discrete variables: 21 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (880): * Single equations (assignments): 874 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002068/1.559, allocations: 492.1 kB / 0.7521 GB, free: 44.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008715/1.56, allocations: 311.9 kB / 0.7524 GB, free: 43.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/1.564, allocations: 1.926 MB / 0.7542 GB, free: 42.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.432e-05/1.564, allocations: 35.52 kB / 0.7543 GB, free: 42.04 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.758e-05/1.564, allocations: 0 / 0.7543 GB, free: 42.04 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/1.564, allocations: 11.69 kB / 0.7543 GB, free: 42.03 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/1.576, allocations: 5.957 MB / 0.7601 GB, free: 36.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/1.577, allocations: 11.94 kB / 0.7601 GB, free: 36.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.578, allocations: 232.6 kB / 0.7603 GB, free: 36.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-05/1.578, allocations: 12 kB / 0.7603 GB, free: 36.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/1.578, allocations: 17.36 kB / 0.7604 GB, free: 36.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.769e-05/1.578, allocations: 17.91 kB / 0.7604 GB, free: 36.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/1.578, allocations: 11.94 kB / 0.7604 GB, free: 36.55 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003573/1.582, allocations: 3.671 MB / 0.764 GB, free: 32.79 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004004/1.586, allocations: 4.083 MB / 0.768 GB, free: 28.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.587, allocations: 382.7 kB / 0.7683 GB, free: 28.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009707/1.588, allocations: 9.875 kB / 0.7683 GB, free: 28.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/1.59, allocations: 34.92 kB / 0.7684 GB, free: 28.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/1.59, allocations: 90.52 kB / 0.7685 GB, free: 28.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/1.59, allocations: 53.78 kB / 0.7685 GB, free: 28.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.005529/1.596, allocations: 2.088 MB / 0.7705 GB, free: 26.29 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008053/1.604, allocations: 1.023 MB / 0.7715 GB, free: 25.26 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007918/1.604, allocations: 146.3 kB / 0.7717 GB, free: 25.11 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008739/1.613, allocations: 4.524 MB / 0.7761 GB, free: 21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.746e-05/1.613, allocations: 0 / 0.7761 GB, free: 21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001689/1.615, allocations: 1.073 MB / 0.7771 GB, free: 20.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/1.617, allocations: 263.2 kB / 0.7774 GB, free: 19.79 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/1.636, allocations: 7.485 MB / 0.7847 GB, free: 12.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007381/1.644, allocations: 3.661 MB / 0.7883 GB, free: 9.129 MB / 474.7 MB Notification: Performance of SimCode: time 1.572e-06/1.644, allocations: 0 / 0.7883 GB, free: 9.129 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1)