Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",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 trunk/package.mo): time 0.001676/0.001676, allocations: 199.2 kB / 8.539 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 225.5 MB / 234.4 MB, free: 3.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009328/0.0009326, allocations: 88.34 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1728/0.1728, allocations: 45.14 MB / 383.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1875/0.3603, allocations: 69.37 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0784/0.4388, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2692/0.708, allocations: 112.7 MB / 0.614 GB, free: 6.371 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.7083, allocations: 72.78 kB / 0.614 GB, free: 6.336 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: 5519 * Number of variables: 5519 Notification: Performance of Generate backend data structure: time 0.6647/1.373, allocations: 233.7 MB / 0.8422 GB, free: 78.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/1.373, allocations: 6.938 kB / 0.8422 GB, free: 78.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02013/1.393, allocations: 5.364 MB / 0.8475 GB, free: 77.83 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01999/1.413, allocations: 9.664 MB / 0.8569 GB, free: 76.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006184/1.414, allocations: 0.6223 MB / 0.8575 GB, free: 76.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004644/1.419, allocations: 1.119 MB / 0.8586 GB, free: 76.42 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03898/1.458, allocations: 20.22 MB / 0.8784 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05324/1.511, allocations: 32.15 MB / 0.9097 GB, free: 34.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005703/1.511, allocations: 197 kB / 0.9099 GB, free: 34.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002428/1.514, allocations: 100 kB / 0.91 GB, free: 34.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001854/1.516, allocations: 1.976 MB / 0.912 GB, free: 32.72 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.404/1.92, allocations: 155.6 MB / 1.064 GB, free: 52.25 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004858/1.925, allocations: 4.541 MB / 1.068 GB, free: 51.61 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003542/1.928, allocations: 3.557 MB / 1.072 GB, free: 51.57 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03231/1.961, allocations: 30.66 MB / 1.102 GB, free: 36.12 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/1.961, allocations: 57.05 kB / 1.102 GB, free: 36.07 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=218): time 5.32e-06/1.961, allocations: 0 / 1.102 GB, free: 36.07 MB / 0.5418 GB Notification: Performance of matching and sorting (n=253): time 0.07984/2.04, allocations: 40.77 MB / 1.142 GB, free: 20.5 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/2.041, allocations: 207.9 kB / 1.142 GB, free: 20.28 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01235/2.053, allocations: 8.713 MB / 1.15 GB, free: 16.78 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0004635/2.053, allocations: 27.48 kB / 1.15 GB, free: 16.75 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.004823/2.058, allocations: 10.48 MB / 1.161 GB, free: 8.707 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001199/2.059, allocations: 1.141 MB / 1.162 GB, free: 7.93 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007126/2.06, allocations: 0 / 1.162 GB, free: 7.93 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0007216/2.061, allocations: 1.054 MB / 1.163 GB, free: 7.074 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006681/2.068, allocations: 5.525 MB / 1.168 GB, free: 2.059 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3081/2.376, allocations: 18.86 MB / 1.187 GB, free: 130.8 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/2.388, allocations: 10.11 MB / 1.196 GB, free: 130.6 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002922/2.388, allocations: 127.6 kB / 1.197 GB, free: 130.6 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2277) (initialization): time 0.03202/2.421, allocations: 19.93 MB / 1.216 GB, free: 128.7 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/2.421, allocations: 6.781 kB / 1.216 GB, free: 128.7 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008828/2.421, allocations: 441.4 kB / 1.216 GB, free: 128.7 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/2.423, allocations: 0.793 MB / 1.217 GB, free: 128.6 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01289/2.436, allocations: 4.221 MB / 1.221 GB, free: 128.2 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003224/2.439, allocations: 3.167 MB / 1.224 GB, free: 126.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01229/2.451, allocations: 0.6481 MB / 1.225 GB, free: 126.8 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002473/2.454, allocations: 1.13 MB / 1.226 GB, free: 126.8 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2020 * Number of states: 0 () * Number of discrete variables: 41 (sensor_world2.arrow.arrowLine.twoHeadedArrow,sensor_world2.arrow.headAtOrigin,sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrow.arrowLine.twoHeadedArrow,sensor_frame_a2.arrow.headAtOrigin,sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrow.arrowLine.twoHeadedArrow,sensor_world1.arrow.headAtOrigin,sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a1.arrow.arrowLine.twoHeadedArrow,sensor_frame_a1.arrow.headAtOrigin,sensor_frame_a1.arrowColor[3],sensor_frame_a1.arrowColor[2],sensor_frame_a1.arrowColor[1],box.color[3],box.color[2],box.color[1],box.body.sphereColor[3],box.body.sphereColor[2],box.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 (2234): * Single equations (assignments): 2226 * Array equations: 7 * 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 prepare postOptimizeDAE: time 0.003613/2.457, allocations: 1.107 MB / 1.227 GB, free: 126.2 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001519/2.459, allocations: 0.7733 MB / 1.228 GB, free: 126.2 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008371/2.467, allocations: 5.473 MB / 1.233 GB, free: 126.1 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.228e-05/2.467, allocations: 22.09 kB / 1.233 GB, free: 126.1 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/2.467, allocations: 3.656 kB / 1.233 GB, free: 126.1 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-05/2.467, allocations: 9.141 kB / 1.233 GB, free: 126.1 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03093/2.498, allocations: 16.22 MB / 1.249 GB, free: 123.9 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/2.498, allocations: 7.5 kB / 1.249 GB, free: 123.9 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/2.501, allocations: 487.1 kB / 1.25 GB, free: 123.8 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005014/2.501, allocations: 162.5 kB / 1.25 GB, free: 123.8 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002457/2.502, allocations: 17 kB / 1.25 GB, free: 123.8 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/2.504, allocations: 2.038 MB / 1.252 GB, free: 122.3 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/2.504, allocations: 0 / 1.252 GB, free: 122.3 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01/2.514, allocations: 9.809 MB / 1.261 GB, free: 118.4 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01421/2.528, allocations: 13.83 MB / 1.275 GB, free: 112.3 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/2.529, allocations: 0.7059 MB / 1.276 GB, free: 111.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/2.531, allocations: 4.062 kB / 1.276 GB, free: 111.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002963/2.534, allocations: 291.8 kB / 1.276 GB, free: 111.8 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003324/2.534, allocations: 118.4 kB / 1.276 GB, free: 111.8 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002992/2.534, allocations: 80.72 kB / 1.276 GB, free: 111.7 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.008907/2.543, allocations: 5.786 MB / 1.282 GB, free: 107 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.01423/2.557, allocations: 2.422 MB / 1.284 GB, free: 104.6 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (219): * Single equations (assignments): 211 * Array equations: 7 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008573/2.558, allocations: 232.2 kB / 1.284 GB, free: 104.4 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.01518/2.573, allocations: 12.14 MB / 1.296 GB, free: 93.36 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/2.573, allocations: 4.438 kB / 1.296 GB, free: 93.35 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.002688/2.576, allocations: 2.62 MB / 1.299 GB, free: 90.98 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004957/2.581, allocations: 1.271 MB / 1.3 GB, free: 89.98 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04024/2.621, allocations: 23.35 MB / 1.323 GB, free: 68.87 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01493/2.636, allocations: 11.14 MB / 1.334 GB, free: 60.51 MB / 0.5419 GB Notification: Performance of SimCode: time 9.42e-07/2.636, allocations: 0 / 1.334 GB, free: 60.51 MB / 0.5419 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1)