Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.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.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 180.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 221.9 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.00102/0.00102, allocations: 86.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2276/0.2276, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 12 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1429, allocations: 58.86 MB / 490.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4566/0.5996, allocations: 95.2 MB / 0.5718 GB, free: 4.645 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.6, allocations: 83.45 kB / 0.5719 GB, free: 4.602 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04658/0.6466, allocations: 17.03 MB / 0.5885 GB, free: 5.832 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.6467, allocations: 0 / 0.5885 GB, free: 5.832 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001004/0.6468, allocations: 20 kB / 0.5886 GB, free: 5.812 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.003374/0.6502, allocations: 1.074 MB / 0.5896 GB, free: 4.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.24e-05/0.6503, allocations: 8.031 kB / 0.5896 GB, free: 4.75 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000612/0.6509, allocations: 179.7 kB / 0.5898 GB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.6525, allocations: 241.7 kB / 0.59 GB, free: 4.387 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.6541, allocations: 0.5758 MB / 0.5906 GB, free: 3.859 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.912e-05/0.6542, allocations: 65.11 kB / 0.5906 GB, free: 3.816 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002852/0.6545, allocations: 87.03 kB / 0.5907 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/0.6576, allocations: 1.732 MB / 0.5924 GB, free: 2.277 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.6576, allocations: 3.938 kB / 0.5924 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.6578, allocations: 42.16 kB / 0.5925 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003514/0.6581, allocations: 181.9 kB / 0.5926 GB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.6601, allocations: 1.19 MB / 0.5938 GB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007819/0.6679, allocations: 7.545 MB / 0.6012 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/0.6684, allocations: 176 kB / 0.6013 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.6685, allocations: 0 / 0.6013 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.6685, allocations: 42 kB / 0.6014 GB, free: 10.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.6685, allocations: 0 / 0.6014 GB, free: 10.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008833/0.6694, allocations: 385.5 kB / 0.6017 GB, free: 9.809 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.6695, allocations: 51.41 kB / 0.6018 GB, free: 9.746 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.6706, allocations: 0.8566 MB / 0.6026 GB, free: 9.082 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.6706, allocations: 25.7 kB / 0.6026 GB, free: 9.051 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000424/0.6711, allocations: 0.683 MB / 0.6033 GB, free: 8.484 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.768e-05/0.6711, allocations: 69.27 kB / 0.6034 GB, free: 8.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.6712, allocations: 21.31 kB / 0.6034 GB, free: 8.426 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.6713, allocations: 393.8 kB / 0.6038 GB, free: 8.062 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.6718, allocations: 265.5 kB / 0.604 GB, free: 7.871 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000888/0.6727, allocations: 0.9459 MB / 0.6049 GB, free: 6.676 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006165/0.6733, allocations: 476.4 kB / 0.6054 GB, free: 6.336 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.6733, allocations: 8 kB / 0.6054 GB, free: 6.328 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001944/0.6753, allocations: 1.172 MB / 0.6066 GB, free: 5.371 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.6753, allocations: 16 kB / 0.6066 GB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.6753, allocations: 27.94 kB / 0.6066 GB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.172e-05/0.6754, allocations: 40.03 kB / 0.6066 GB, free: 5.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007262/0.6761, allocations: 246.5 kB / 0.6069 GB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-05/0.6762, allocations: 47.84 kB / 0.6069 GB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007461/0.6769, allocations: 159 kB / 0.6071 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/0.677, allocations: 64.75 kB / 0.6071 GB, free: 4.812 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 21 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * Array equations: 0 * 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.0007877/0.6778, allocations: 480.8 kB / 0.6076 GB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.6779, allocations: 71.06 kB / 0.6077 GB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006987/0.6786, allocations: 325.2 kB / 0.608 GB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6786, allocations: 0 / 0.608 GB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.6786, allocations: 7.984 kB / 0.608 GB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.6787, allocations: 0 / 0.608 GB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009136/0.6796, allocations: 0.7346 MB / 0.6087 GB, free: 3.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6796, allocations: 0 / 0.6087 GB, free: 3.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.6798, allocations: 39.41 kB / 0.6087 GB, free: 3.465 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.6798, allocations: 0 / 0.6087 GB, free: 3.465 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.6798, allocations: 3.984 kB / 0.6087 GB, free: 3.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.6798, allocations: 7.938 kB / 0.6087 GB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6798, allocations: 0 / 0.6087 GB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005889/0.6804, allocations: 397.2 kB / 0.6091 GB, free: 3.094 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.6806, allocations: 150.4 kB / 0.6093 GB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/0.6807, allocations: 7.984 kB / 0.6093 GB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.681, allocations: 15.17 kB / 0.6093 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/0.6811, allocations: 15.98 kB / 0.6093 GB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.6811, allocations: 6.922 kB / 0.6093 GB, free: 2.895 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007059/0.6818, allocations: 0.6142 MB / 0.6099 GB, free: 2.434 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6818, allocations: 0 / 0.6099 GB, free: 2.434 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000899/0.6827, allocations: 223.9 kB / 0.6101 GB, free: 2.234 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * 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.0009641/0.6837, allocations: 0.9411 MB / 0.611 GB, free: 1.309 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.6847, allocations: 0.5998 MB / 0.6116 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6847, allocations: 0 / 0.6116 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.685, allocations: 119.4 kB / 0.6117 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.6854, allocations: 81.83 kB / 0.6118 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/0.701, allocations: 22.39 MB / 0.6337 GB, free: 10.56 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008497/0.7019, allocations: 1.169 MB / 0.6348 GB, free: 9.441 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007856/0.7027, allocations: 282 kB / 0.6351 GB, free: 9.164 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003938/0.7031, allocations: 347.2 kB / 0.6354 GB, free: 9.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.383e-06/0.7032, allocations: 0 / 0.6354 GB, free: 9.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.7344, allocations: 13.6 MB / 0.6487 GB, free: 11.52 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/0.7347, allocations: 176.9 kB / 0.6489 GB, free: 11.27 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/3.059, allocations: 0 / 0.6489 GB, free: 11.27 MB / 458.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)