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.001157/0.001157, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001345/0.001346, allocations: 191.6 kB / 17.19 MB, free: 5.602 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.429/1.429, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2068/0.2068, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 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.001498/0.001498, allocations: 68.16 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1132, allocations: 57.79 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.006829/0.1201, allocations: 7.059 MB / 447.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004933/0.125, allocations: 2.033 MB / 449.7 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.1263, allocations: 27.94 kB / 449.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.128, allocations: 0.6267 MB / 450.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.1292, allocations: 314.3 kB / 450.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.1295, allocations: 47.88 kB / 450.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.1307, allocations: 0.6107 MB / 451.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.1319, allocations: 0.589 MB / 451.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006064/0.1325, allocations: 306.7 kB / 452.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009054/0.1334, allocations: 398.5 kB / 452.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.1337, allocations: 56 kB / 452.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004206/0.1341, allocations: 107.9 kB / 452.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000476/0.1346, allocations: 374.9 kB / 453.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007533/0.1353, allocations: 461.1 kB / 453.6 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.1372, allocations: 1.222 MB / 454.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1372, allocations: 0 / 454.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1373, allocations: 4 kB / 454.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.226e-05/0.1373, allocations: 0 / 454.8 MB, free: 8.562 MB / 334.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.003217/0.1405, allocations: 1.192 MB / 456 MB, free: 7.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/0.1406, allocations: 11.89 kB / 456 MB, free: 7.309 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003496/0.141, allocations: 165.6 kB / 456.2 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.1421, allocations: 163.4 kB / 456.3 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009583/0.1431, allocations: 0.4934 MB / 456.8 MB, free: 6.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/0.1431, allocations: 49.66 kB / 456.9 MB, free: 6.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.1432, allocations: 59.91 kB / 456.9 MB, free: 6.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.1459, allocations: 1.747 MB / 458.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.146, allocations: 7.938 kB / 458.7 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.629e-05/0.1461, allocations: 27.97 kB / 458.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009133/0.147, allocations: 413.1 kB / 459.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/0.1497, allocations: 1.189 MB / 460.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009879/0.1595, allocations: 6.591 MB / 466.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.1601, allocations: 174.5 kB / 467.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.1603, allocations: 100.7 kB / 467.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.1604, allocations: 0 / 467.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.1604, allocations: 38.56 kB / 467.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.1604, allocations: 0 / 467.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001201/0.1617, allocations: 364.6 kB / 467.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.1617, allocations: 51.41 kB / 467.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.1634, allocations: 0.9692 MB / 468.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.1634, allocations: 25.7 kB / 468.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005632/0.164, allocations: 0.6902 MB / 469.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/0.1641, allocations: 63.36 kB / 469.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004092/0.1645, allocations: 222.2 kB / 469.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003023/0.1648, allocations: 386.8 kB / 470 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004879/0.1653, allocations: 261.8 kB / 470.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.1663, allocations: 0.9487 MB / 471.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.168, allocations: 1.305 MB / 472.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.645e-05/0.168, allocations: 4 kB / 472.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002191/0.1702, allocations: 1.165 MB / 473.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.1702, allocations: 16 kB / 473.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-05/0.1703, allocations: 28 kB / 473.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.475e-05/0.1703, allocations: 32.75 kB / 473.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/0.1711, allocations: 251.5 kB / 474 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-05/0.1711, allocations: 47.8 kB / 474 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000825/0.172, allocations: 158.4 kB / 474.2 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.221e-05/0.1721, allocations: 64 kB / 474.2 MB, free: 3.875 MB / 350.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.000654/0.1727, allocations: 467.3 kB / 474.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.1729, allocations: 82.92 kB / 474.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007309/0.1736, allocations: 312.3 kB / 475.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1736, allocations: 7.938 kB / 475.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1737, allocations: 0 / 475.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1737, allocations: 0 / 475.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.1748, allocations: 0.7431 MB / 475.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1748, allocations: 4 kB / 475.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.175, allocations: 31.97 kB / 475.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1751, allocations: 0 / 475.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.1751, allocations: 4 kB / 475.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1751, allocations: 0 / 475.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1751, allocations: 0 / 475.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006098/0.1757, allocations: 405.9 kB / 476.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.1759, allocations: 136.3 kB / 476.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.028e-05/0.176, allocations: 7.984 kB / 476.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.1763, allocations: 15.98 kB / 476.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.1764, allocations: 11.98 kB / 476.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1764, allocations: 3.984 kB / 476.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008332/0.1772, allocations: 0.6239 MB / 477 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1773, allocations: 4 kB / 477 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009126/0.1782, allocations: 223.1 kB / 477.3 MB, free: 0.7266 MB / 350.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.000912/0.1791, allocations: 0.9262 MB / 478.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.1802, allocations: 0.6025 MB / 478.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.1802, allocations: 4 kB / 478.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.1804, allocations: 107.8 kB / 478.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.1809, allocations: 83.09 kB / 479 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.1916, allocations: 8.054 MB / 487 MB, free: 6.152 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000933/0.1926, allocations: 1.155 MB / 488.2 MB, free: 4.969 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006943/0.1933, allocations: 266 kB / 488.4 MB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003931/0.1937, allocations: 351.3 kB / 488.8 MB, free: 4.363 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1937, allocations: 4 kB / 488.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.2274, allocations: 13.14 MB / 0.4902 GB, free: 7.234 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/8.039, allocations: 11.88 kB / 0.4902 GB, free: 7.223 MB / 382.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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1)