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.001433/0.001433, allocations: 107.4 kB / 16.41 MB, free: 6.508 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.001497/0.001497, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.481/1.481, 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.2229/0.2229, allocations: 43.52 MB / 314.1 MB, free: 452 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.002258/0.002258, allocations: 69.45 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.114, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01115/0.1252, allocations: 8.729 MB / 0.4959 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005246/0.1305, allocations: 2.255 MB / 0.4981 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.1317, allocations: 39.94 kB / 0.4982 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003355/0.1351, allocations: 1.522 MB / 0.4996 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.1366, allocations: 473.2 kB / 0.5001 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.137, allocations: 75.83 kB / 0.5002 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.1387, allocations: 0.9371 MB / 0.5011 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/0.1408, allocations: 1.514 MB / 0.5026 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009182/0.1418, allocations: 0.5449 MB / 0.5031 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.1429, allocations: 0.681 MB / 0.5038 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00023/0.1431, allocations: 116 kB / 0.5039 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003568/0.1435, allocations: 128 kB / 0.504 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007054/0.1442, allocations: 0.7324 MB / 0.5047 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008654/0.1451, allocations: 0.858 MB / 0.5055 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002459/0.1475, allocations: 2.353 MB / 0.5078 GB, free: 7.242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1476, allocations: 0 / 0.5078 GB, free: 7.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1476, allocations: 0 / 0.5078 GB, free: 7.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.827e-05/0.1476, allocations: 4 kB / 0.5078 GB, free: 7.238 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.002718/0.1503, allocations: 2.003 MB / 0.5098 GB, free: 5.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1504, allocations: 15.89 kB / 0.5098 GB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003667/0.1508, allocations: 334.5 kB / 0.5101 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005609/0.1513, allocations: 223.4 kB / 0.5103 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.1524, allocations: 0.7268 MB / 0.5111 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.817e-05/0.1525, allocations: 119.4 kB / 0.5112 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.1527, allocations: 151.9 kB / 0.5113 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004151/0.1568, allocations: 3.387 MB / 0.5146 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/0.1569, allocations: 11.88 kB / 0.5146 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.157, allocations: 75.78 kB / 0.5147 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007394/0.1577, allocations: 0.611 MB / 0.5153 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0029/0.1607, allocations: 1.862 MB / 0.5171 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2195/0.3802, allocations: 13.51 MB / 0.5303 GB, free: 37.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.242e-05/0.3803, allocations: 167.9 kB / 0.5305 GB, free: 36.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.3803, allocations: 85.02 kB / 0.5306 GB, free: 36.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.3803, allocations: 81.84 kB / 0.5306 GB, free: 36.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.3803, allocations: 107.9 kB / 0.5307 GB, free: 36.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.903e-06/0.3803, allocations: 0 / 0.5307 GB, free: 36.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002698/0.3806, allocations: 154.8 kB / 0.5309 GB, free: 36.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.3807, allocations: 133.8 kB / 0.531 GB, free: 36.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.3825, allocations: 1.659 MB / 0.5326 GB, free: 36.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.001e-06/0.3825, allocations: 25.7 kB / 0.5327 GB, free: 36.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006383/0.3831, allocations: 1.412 MB / 0.534 GB, free: 35.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.3832, allocations: 45.78 kB / 0.5341 GB, free: 35.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003797/0.3836, allocations: 435.8 kB / 0.5345 GB, free: 35.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.3837, allocations: 353.4 kB / 0.5348 GB, free: 35.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/0.3842, allocations: 374.4 kB / 0.5352 GB, free: 35.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.3852, allocations: 1.928 MB / 0.5371 GB, free: 33.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.3869, allocations: 2.51 MB / 0.5395 GB, free: 30.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-05/0.3869, allocations: 16.88 kB / 0.5395 GB, free: 30.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00271/0.3896, allocations: 2.121 MB / 0.5416 GB, free: 30.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.3897, allocations: 29.81 kB / 0.5416 GB, free: 30.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-05/0.3898, allocations: 58.88 kB / 0.5417 GB, free: 30.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.923e-05/0.3898, allocations: 73.73 kB / 0.5418 GB, free: 30.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.391, allocations: 493.3 kB / 0.5422 GB, free: 30.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001004/0.3911, allocations: 110.3 kB / 0.5423 GB, free: 30.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.3926, allocations: 328.3 kB / 0.5427 GB, free: 30.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/0.3928, allocations: 137.8 kB / 0.5428 GB, free: 30.05 MB / 414.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.0009681/0.3937, allocations: 0.8772 MB / 0.5436 GB, free: 29.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.3939, allocations: 232.6 kB / 0.5439 GB, free: 29.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.394, allocations: 234.8 kB / 0.5441 GB, free: 29.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/0.3941, allocations: 178 kB / 0.5443 GB, free: 29.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.752e-05/0.3941, allocations: 178.6 kB / 0.5444 GB, free: 28.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.529e-05/0.3941, allocations: 184.7 kB / 0.5446 GB, free: 28.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.3959, allocations: 1.484 MB / 0.5461 GB, free: 27.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.3959, allocations: 105.8 kB / 0.5462 GB, free: 27.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-05/0.396, allocations: 103 kB / 0.5463 GB, free: 27.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-05/0.396, allocations: 178.2 kB / 0.5464 GB, free: 27.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.396, allocations: 181 kB / 0.5466 GB, free: 27.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.246e-05/0.396, allocations: 182.2 kB / 0.5468 GB, free: 27.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.308e-05/0.3961, allocations: 186.1 kB / 0.5469 GB, free: 26.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.3962, allocations: 441.6 kB / 0.5474 GB, free: 26.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.3964, allocations: 298 kB / 0.5477 GB, free: 26.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.3966, allocations: 178.8 kB / 0.5478 GB, free: 26.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.3968, allocations: 118.9 kB / 0.5479 GB, free: 25.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.3969, allocations: 189.7 kB / 0.5481 GB, free: 25.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3969, allocations: 106.6 kB / 0.5482 GB, free: 25.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001223/0.3981, allocations: 1.019 MB / 0.5492 GB, free: 25.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3981, allocations: 0 / 0.5492 GB, free: 25.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001621/0.3998, allocations: 436.6 kB / 0.5496 GB, free: 25.18 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 (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.0003444/0.4001, allocations: 0.9369 MB / 0.5505 GB, free: 24.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.4013, allocations: 0.9003 MB / 0.5514 GB, free: 24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4013, allocations: 0 / 0.5514 GB, free: 24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.4014, allocations: 5.031 kB / 0.5514 GB, free: 24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006832/0.402, allocations: 0.5701 MB / 0.552 GB, free: 23.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.4156, allocations: 13.62 MB / 0.5653 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.4168, allocations: 1.577 MB / 0.5668 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001003/0.4178, allocations: 494.7 kB / 0.5673 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004941/0.4183, allocations: 0.6687 MB / 0.5679 GB, free: 12.31 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4183, allocations: 0 / 0.5679 GB, free: 12.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04538/0.4637, allocations: 21.72 MB / 0.5892 GB, free: 9.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.92, allocations: 4 kB / 0.5892 GB, free: 9.656 MB / 430.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)