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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 110.9 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 189.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2344/0.2344, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 67.89 kB / 441.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1139, allocations: 57.79 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008912/0.1228, allocations: 7.051 MB / 0.4943 GB, free: 5.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004146/0.127, allocations: 2.045 MB / 0.4963 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007949/0.1278, allocations: 28 kB / 0.4963 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.1295, allocations: 0.6306 MB / 0.4969 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008628/0.1304, allocations: 310.3 kB / 0.4972 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.1306, allocations: 51.83 kB / 0.4973 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008996/0.1315, allocations: 0.6107 MB / 0.4979 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008874/0.1324, allocations: 0.593 MB / 0.4984 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000512/0.133, allocations: 290.8 kB / 0.4987 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007029/0.1337, allocations: 406.5 kB / 0.4991 GB, free: 288 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.1338, allocations: 60 kB / 0.4992 GB, free: 228 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.1341, allocations: 111.8 kB / 0.4993 GB, free: 116 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004933/0.1346, allocations: 367 kB / 0.4996 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004546/0.1351, allocations: 465.1 kB / 0.5001 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.1364, allocations: 1.283 MB / 0.5013 GB, free: 14.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1365, allocations: 0 / 0.5013 GB, free: 14.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1365, allocations: 4 kB / 0.5013 GB, free: 14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.1365, allocations: 0 / 0.5013 GB, free: 14 MB / 398.1 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.002523/0.139, allocations: 1.218 MB / 0.5025 GB, free: 12.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.1391, allocations: 11.89 kB / 0.5025 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002521/0.1393, allocations: 169.6 kB / 0.5027 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.1405, allocations: 160.1 kB / 0.5028 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009264/0.1414, allocations: 0.5053 MB / 0.5033 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/0.1415, allocations: 45.66 kB / 0.5034 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.1416, allocations: 59.91 kB / 0.5034 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003146/0.1448, allocations: 1.747 MB / 0.5051 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.1449, allocations: 7.938 kB / 0.5051 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.786e-05/0.145, allocations: 35.95 kB / 0.5052 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007746/0.1457, allocations: 405.2 kB / 0.5056 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.1479, allocations: 1.188 MB / 0.5067 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007891/0.1558, allocations: 6.581 MB / 0.5131 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.1563, allocations: 166.5 kB / 0.5133 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/0.1566, allocations: 100.7 kB / 0.5134 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.1566, allocations: 4 kB / 0.5134 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.1567, allocations: 34.56 kB / 0.5134 GB, free: 1.074 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 2.445e-06/0.1567, allocations: 0 / 0.5134 GB, free: 1.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009093/0.1576, allocations: 372.9 kB / 0.5138 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.1576, allocations: 51.41 kB / 0.5138 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.1589, allocations: 0.9657 MB / 0.5148 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.159, allocations: 25.7 kB / 0.5148 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00056/0.1595, allocations: 0.7124 MB / 0.5155 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.1596, allocations: 67.55 kB / 0.5156 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.1599, allocations: 218.4 kB / 0.5158 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.1601, allocations: 390.8 kB / 0.5161 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/0.1606, allocations: 261.8 kB / 0.5164 GB, free: 13.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.1617, allocations: 0.9487 MB / 0.5173 GB, free: 12.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.1634, allocations: 1.301 MB / 0.5186 GB, free: 11.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.351e-05/0.1635, allocations: 8 kB / 0.5186 GB, free: 11.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002114/0.1656, allocations: 1.178 MB / 0.5198 GB, free: 9.836 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.1656, allocations: 16 kB / 0.5198 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-05/0.1657, allocations: 31.98 kB / 0.5198 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.775e-05/0.1657, allocations: 32 kB / 0.5198 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007441/0.1665, allocations: 243.6 kB / 0.5201 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.662e-05/0.1665, allocations: 51.8 kB / 0.5201 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007381/0.1673, allocations: 158.9 kB / 0.5203 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.193e-05/0.1674, allocations: 64 kB / 0.5203 GB, free: 9.25 MB / 414.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006186/0.168, allocations: 475.3 kB / 0.5208 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.1681, allocations: 79.42 kB / 0.5209 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007078/0.1689, allocations: 308.4 kB / 0.5211 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.1689, allocations: 7.984 kB / 0.5212 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1689, allocations: 0 / 0.5212 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1689, allocations: 0 / 0.5212 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.1699, allocations: 0.747 MB / 0.5219 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.1699, allocations: 3.938 kB / 0.5219 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.1701, allocations: 35.91 kB / 0.5219 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1701, allocations: 0 / 0.5219 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.1702, allocations: 0 / 0.5219 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1702, allocations: 0 / 0.5219 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1702, allocations: 11.94 kB / 0.5219 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006479/0.1708, allocations: 390.8 kB / 0.5223 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.171, allocations: 140.6 kB / 0.5224 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.956e-05/0.1711, allocations: 7.984 kB / 0.5224 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.1714, allocations: 19.92 kB / 0.5225 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.1715, allocations: 11.98 kB / 0.5225 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.1715, allocations: 11.98 kB / 0.5225 GB, free: 6.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008607/0.1724, allocations: 0.62 MB / 0.5231 GB, free: 6.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1724, allocations: 0 / 0.5231 GB, free: 6.312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008918/0.1733, allocations: 223.4 kB / 0.5233 GB, free: 6.094 MB / 414.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00105/0.1743, allocations: 0.9306 MB / 0.5242 GB, free: 5.133 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.1755, allocations: 0.599 MB / 0.5248 GB, free: 4.539 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1755, allocations: 0 / 0.5248 GB, free: 4.539 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.1758, allocations: 104.2 kB / 0.5249 GB, free: 4.438 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/0.1763, allocations: 82.56 kB / 0.525 GB, free: 4.359 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2001/0.3764, allocations: 7.774 MB / 0.5326 GB, free: 38.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/0.3771, allocations: 1.151 MB / 0.5337 GB, free: 37.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000647/0.3777, allocations: 276.6 kB / 0.534 GB, free: 37.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/0.3781, allocations: 348.9 kB / 0.5343 GB, free: 37.66 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3781, allocations: 0 / 0.5343 GB, free: 37.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03652/0.4146, allocations: 13.39 MB / 0.5474 GB, free: 34.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.61, allocations: 13.34 kB / 0.5474 GB, free: 34.27 MB / 414.1 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/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)