Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.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.Shapes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",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.004975/0.004975, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.001224/0.001223, allocations: 192.2 kB / 16.79 MB, free: 6.238 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.252/1.252, allocations: 205.1 MB / 222.6 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2902/0.2902, allocations: 43.5 MB / 313.5 MB, free: 8.305 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.001562/0.001562, allocations: 66.56 kB / 382.1 MB, free: 8.406 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09382/0.09539, allocations: 57.78 MB / 439.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.1905/0.2859, allocations: 40.23 MB / 480.1 MB, free: 26.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0121/0.298, allocations: 7.306 MB / 487.4 MB, free: 21.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005255/0.3033, allocations: 163.6 kB / 487.6 MB, free: 21.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.3058, allocations: 1.527 MB / 489.1 MB, free: 21.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009274/0.3067, allocations: 447 kB / 489.6 MB, free: 20.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.307, allocations: 63.75 kB / 489.6 MB, free: 20.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.3085, allocations: 1.623 MB / 491.3 MB, free: 20.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.3099, allocations: 1.582 MB / 492.8 MB, free: 19.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004338/0.3103, allocations: 0.505 MB / 493.3 MB, free: 19.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006112/0.3109, allocations: 0.7484 MB / 494.1 MB, free: 19.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.3111, allocations: 107.3 kB / 494.2 MB, free: 19.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002721/0.3114, allocations: 124.7 kB / 494.3 MB, free: 19.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004432/0.3118, allocations: 0.7317 MB / 495 MB, free: 18.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000539/0.3124, allocations: 0.8554 MB / 495.9 MB, free: 18.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.3138, allocations: 2.211 MB / 498.1 MB, free: 17.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3138, allocations: 1.062 kB / 498.1 MB, free: 17.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3138, allocations: 0 / 498.1 MB, free: 17.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.917e-05/0.3138, allocations: 3.938 kB / 498.1 MB, free: 17.54 MB / 382.1 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.002099/0.3159, allocations: 1.964 MB / 0.4884 GB, free: 16.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.316, allocations: 9.594 kB / 0.4884 GB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003125/0.3163, allocations: 335.6 kB / 0.4887 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005094/0.3168, allocations: 214.2 kB / 0.4889 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008476/0.3177, allocations: 0.7119 MB / 0.4896 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/0.3178, allocations: 117.2 kB / 0.4897 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.3179, allocations: 153.3 kB / 0.4899 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003421/0.3214, allocations: 3.376 MB / 0.4931 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.3214, allocations: 18.34 kB / 0.4932 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.3215, allocations: 72.72 kB / 0.4932 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007184/0.3222, allocations: 0.6182 MB / 0.4938 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/0.3249, allocations: 1.861 MB / 0.4957 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009685/0.3346, allocations: 13.53 MB / 0.5089 GB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.951e-05/0.3347, allocations: 175.1 kB / 0.509 GB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.3347, allocations: 80.14 kB / 0.5091 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.3347, allocations: 80.34 kB / 0.5092 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.3348, allocations: 110.3 kB / 0.5093 GB, free: 1.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.3348, allocations: 1.094 kB / 0.5093 GB, free: 1.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.000202/0.335, allocations: 152.3 kB / 0.5094 GB, free: 1.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.335, allocations: 127.3 kB / 0.5096 GB, free: 1.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.3368, allocations: 1.654 MB / 0.5112 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-06/0.3368, allocations: 25.7 kB / 0.5112 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000742/0.3375, allocations: 1.361 MB / 0.5125 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.3376, allocations: 49.88 kB / 0.5126 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004365/0.338, allocations: 420.5 kB / 0.513 GB, free: 15.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3382, allocations: 356.2 kB / 0.5133 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/0.3387, allocations: 377.4 kB / 0.5137 GB, free: 14.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.3401, allocations: 1.932 MB / 0.5156 GB, free: 12.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002376/0.3425, allocations: 2.503 MB / 0.518 GB, free: 9.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.582e-05/0.3426, allocations: 22.12 kB / 0.518 GB, free: 9.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003205/0.3458, allocations: 2.116 MB / 0.5201 GB, free: 8.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/0.3458, allocations: 29.31 kB / 0.5201 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.104e-05/0.3459, allocations: 58.64 kB / 0.5202 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.218e-05/0.3459, allocations: 73.16 kB / 0.5202 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.347, allocations: 490.3 kB / 0.5207 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-05/0.3471, allocations: 108.9 kB / 0.5208 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.3486, allocations: 326.9 kB / 0.5211 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/0.3488, allocations: 142.5 kB / 0.5213 GB, free: 8.609 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001011/0.3498, allocations: 0.867 MB / 0.5221 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.35, allocations: 232.8 kB / 0.5223 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.3501, allocations: 228.7 kB / 0.5226 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.104e-05/0.3502, allocations: 178 kB / 0.5227 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-05/0.3503, allocations: 185.5 kB / 0.5229 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.137e-05/0.3503, allocations: 183.6 kB / 0.5231 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.3518, allocations: 1.476 MB / 0.5245 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.141e-05/0.3518, allocations: 111.1 kB / 0.5246 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.3519, allocations: 105 kB / 0.5247 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.867e-05/0.3519, allocations: 182.3 kB / 0.5249 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/0.352, allocations: 182.3 kB / 0.5251 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-05/0.352, allocations: 182.4 kB / 0.5252 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-05/0.3521, allocations: 178.6 kB / 0.5254 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.3523, allocations: 432.2 kB / 0.5258 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.3525, allocations: 294.7 kB / 0.5261 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.3527, allocations: 182.2 kB / 0.5263 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.353, allocations: 103.3 kB / 0.5264 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.353, allocations: 180.2 kB / 0.5266 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.3531, allocations: 109.7 kB / 0.5267 GB, free: 4.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001047/0.3541, allocations: 1.019 MB / 0.5277 GB, free: 3.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3541, allocations: 0 / 0.5277 GB, free: 3.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001416/0.3555, allocations: 430.6 kB / 0.5281 GB, free: 3.77 MB / 398.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 (0): * Single equations (assignments): 0 * 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.0004473/0.356, allocations: 0.947 MB / 0.529 GB, free: 2.879 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.3571, allocations: 0.9038 MB / 0.5299 GB, free: 2.301 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3571, allocations: 0 / 0.5299 GB, free: 2.301 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/0.3571, allocations: 5.75 kB / 0.5299 GB, free: 2.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007553/0.3579, allocations: 0.6357 MB / 0.5305 GB, free: 1.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/0.3732, allocations: 15.15 MB / 0.5453 GB, free: 348 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.3744, allocations: 1.579 MB / 0.5468 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001077/0.3755, allocations: 491.4 kB / 0.5473 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000606/0.3761, allocations: 0.6633 MB / 0.548 GB, free: 13.58 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3761, allocations: 0 / 0.548 GB, free: 13.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0964/0.4725, allocations: 20.82 MB / 0.5683 GB, free: 8.816 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.4727, allocations: 197.1 kB / 0.5685 GB, free: 8.559 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.076/2.548, allocations: 0 / 0.5685 GB, free: 8.559 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)