Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.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.Shapes,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Shapes",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.002262/0.002267, allocations: 188.2 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.369/2.369, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001154/0.001154, allocations: 98.8 kB / 270.9 MB, free: 13.38 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.2998/0.2998, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004655, allocations: 16 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1333, allocations: 58.86 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.05563/0.1889, allocations: 34.43 MB / 0.5125 GB, free: 6.707 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.3661/0.5551, allocations: 7.332 MB / 0.5196 GB, free: 9.926 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00745/0.5626, allocations: 164.5 kB / 0.5198 GB, free: 9.926 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006876/0.5695, allocations: 1.704 MB / 0.5214 GB, free: 9.926 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02009/0.5897, allocations: 4.822 MB / 0.5261 GB, free: 9.844 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.5918, allocations: 106.4 kB / 0.5262 GB, free: 9.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001897/0.5938, allocations: 0.6038 MB / 0.5268 GB, free: 9.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003746/0.5975, allocations: 1.714 MB / 0.5285 GB, free: 9.602 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008238/0.5984, allocations: 306.5 kB / 0.5288 GB, free: 9.602 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006891/0.5991, allocations: 344.7 kB / 0.5291 GB, free: 9.602 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.5993, allocations: 47.44 kB / 0.5292 GB, free: 9.602 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.5997, allocations: 42.03 kB / 0.5292 GB, free: 9.602 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007496/0.6004, allocations: 0.5755 MB / 0.5298 GB, free: 9.602 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004473/0.6009, allocations: 341.3 kB / 0.5301 GB, free: 9.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002868/0.6038, allocations: 1.773 MB / 0.5318 GB, free: 9.324 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6038, allocations: 4 kB / 0.5318 GB, free: 9.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.6038, allocations: 1.375 kB / 0.5318 GB, free: 9.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.215e-05/0.6039, allocations: 0 / 0.5318 GB, free: 9.32 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.003648/0.6076, allocations: 1.638 MB / 0.5334 GB, free: 8.195 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.6077, allocations: 13.45 kB / 0.5335 GB, free: 8.191 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000684/0.6084, allocations: 330.8 kB / 0.5338 GB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008386/0.6092, allocations: 219.6 kB / 0.534 GB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.6109, allocations: 0.7062 MB / 0.5347 GB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.6111, allocations: 119.5 kB / 0.5348 GB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002981/0.6114, allocations: 151 kB / 0.5349 GB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006988/0.6184, allocations: 3.35 MB / 0.5382 GB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.069e-05/0.6185, allocations: 13.38 kB / 0.5382 GB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001991/0.6187, allocations: 76.38 kB / 0.5383 GB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001262/0.62, allocations: 0.613 MB / 0.5389 GB, free: 6.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0056/0.6256, allocations: 1.846 MB / 0.5407 GB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01837/0.6441, allocations: 13.52 MB / 0.5539 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.6442, allocations: 177.8 kB / 0.5541 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.6443, allocations: 75.28 kB / 0.5541 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.251e-05/0.6444, allocations: 105.8 kB / 0.5542 GB, free: 11.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.595e-06/0.6444, allocations: 0 / 0.5542 GB, free: 11.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004278/0.6448, allocations: 151.7 kB / 0.5544 GB, free: 11.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.6449, allocations: 130.7 kB / 0.5545 GB, free: 11.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003283/0.6482, allocations: 1.649 MB / 0.5561 GB, free: 10.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.6483, allocations: 25.7 kB / 0.5561 GB, free: 10.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001343/0.6496, allocations: 1.373 MB / 0.5575 GB, free: 9.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.745e-05/0.6498, allocations: 44.52 kB / 0.5575 GB, free: 9.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.514e-05/0.6499, allocations: 43.28 kB / 0.5576 GB, free: 9.453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002552/0.6501, allocations: 391.8 kB / 0.5579 GB, free: 9.117 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008553/0.651, allocations: 363.6 kB / 0.5583 GB, free: 9.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/0.6533, allocations: 1.917 MB / 0.5602 GB, free: 6.812 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.6551, allocations: 0.774 MB / 0.5609 GB, free: 6.664 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-05/0.6551, allocations: 20.61 kB / 0.5609 GB, free: 6.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005123/0.6603, allocations: 2.053 MB / 0.5629 GB, free: 6.328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.455e-05/0.6604, allocations: 30.94 kB / 0.563 GB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.143e-05/0.6605, allocations: 56.47 kB / 0.563 GB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001144/0.6606, allocations: 84.88 kB / 0.5631 GB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/0.6629, allocations: 486.4 kB / 0.5636 GB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001344/0.6631, allocations: 109.8 kB / 0.5637 GB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.6654, allocations: 328.7 kB / 0.564 GB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002732/0.6657, allocations: 138.6 kB / 0.5641 GB, free: 6.094 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * 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.001882/0.6676, allocations: 0.8608 MB / 0.5649 GB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/0.668, allocations: 235.8 kB / 0.5652 GB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.6683, allocations: 224.9 kB / 0.5654 GB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.011e-05/0.6684, allocations: 182.5 kB / 0.5656 GB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.851e-05/0.6685, allocations: 181.9 kB / 0.5657 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.6e-05/0.6686, allocations: 182.4 kB / 0.5659 GB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.6715, allocations: 1.477 MB / 0.5674 GB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.427e-05/0.6716, allocations: 107.2 kB / 0.5675 GB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.6717, allocations: 108.8 kB / 0.5676 GB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.823e-05/0.6718, allocations: 180.2 kB / 0.5677 GB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.988e-05/0.6719, allocations: 184 kB / 0.5679 GB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-05/0.672, allocations: 186.5 kB / 0.5681 GB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.368e-05/0.6721, allocations: 178.3 kB / 0.5683 GB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.6725, allocations: 429.6 kB / 0.5687 GB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005551/0.6731, allocations: 295 kB / 0.5689 GB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002559/0.6734, allocations: 194.3 kB / 0.5691 GB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/0.6739, allocations: 101.6 kB / 0.5692 GB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/0.674, allocations: 182.6 kB / 0.5694 GB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/0.6741, allocations: 110.3 kB / 0.5695 GB, free: 1.746 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002405/0.6765, allocations: 1.004 MB / 0.5705 GB, free: 1 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6765, allocations: 0 / 0.5705 GB, free: 1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002927/0.6795, allocations: 430.4 kB / 0.5709 GB, free: 0.6094 MB / 378.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 (0): * Single equations (assignments): 0 * 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.0008371/0.6803, allocations: 0.9365 MB / 0.5718 GB, free: 15.65 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002389/0.6827, allocations: 0.8911 MB / 0.5727 GB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.485e-06/0.6828, allocations: 4.188 kB / 0.5727 GB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.609e-06/0.6828, allocations: 0 / 0.5727 GB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.6841, allocations: 0.6559 MB / 0.5733 GB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0392/0.7233, allocations: 48.69 MB / 0.6209 GB, free: 13.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/0.7258, allocations: 1.61 MB / 0.6224 GB, free: 12.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/0.7272, allocations: 0.6874 MB / 0.6231 GB, free: 12.17 MB / 442.7 MB Notification: Performance of SimCode: time 1.423e-06/0.7273, allocations: 0 / 0.6231 GB, free: 12.17 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.908/3.636, allocations: 26.41 MB / 0.6489 GB, free: 2.16 MB / 458.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)