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.0009362/0.0009365, allocations: 96.94 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008477/0.0008482, allocations: 184.2 kB / 16.92 MB, free: 6.934 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.341/1.341, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.3031/0.3031, allocations: 43.57 MB / 315 MB, free: 9.09 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.0005364/0.0005364, allocations: 12 kB / 384.7 MB, free: 7.809 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1043, allocations: 58.87 MB / 443.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.2228/0.3272, allocations: 39.12 MB / 482.7 MB, free: 24.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01544/0.3427, allocations: 7.285 MB / 489.9 MB, free: 21.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006655/0.3493, allocations: 162.8 kB / 490.1 MB, free: 21.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007139/0.3501, allocations: 177.4 kB / 490.3 MB, free: 21.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.3512, allocations: 441.4 kB / 490.7 MB, free: 21.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.3515, allocations: 72.38 kB / 490.8 MB, free: 21.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.3527, allocations: 1.622 MB / 492.4 MB, free: 20.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.3546, allocations: 1.877 MB / 494.3 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004133/0.355, allocations: 365.6 kB / 494.6 MB, free: 19.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005833/0.3556, allocations: 0.5581 MB / 495.2 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.455e-05/0.3557, allocations: 49 kB / 495.2 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.3559, allocations: 59.23 kB / 495.3 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003816/0.3563, allocations: 0.6432 MB / 495.9 MB, free: 19.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003945/0.3567, allocations: 0.7684 MB / 496.7 MB, free: 18.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.358, allocations: 2.137 MB / 498.8 MB, free: 18.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.358, allocations: 2.969 kB / 498.9 MB, free: 18.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.358, allocations: 0 / 498.9 MB, free: 18.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.633e-05/0.358, allocations: 0 / 498.9 MB, free: 18.14 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.001781/0.3598, allocations: 1.612 MB / 0.4887 GB, free: 17.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3599, allocations: 9 kB / 0.4887 GB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002787/0.3602, allocations: 326.6 kB / 0.4891 GB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004801/0.3607, allocations: 218.4 kB / 0.4893 GB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008298/0.3615, allocations: 0.7189 MB / 0.49 GB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.972e-05/0.3616, allocations: 116.5 kB / 0.4901 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.3618, allocations: 157.3 kB / 0.4902 GB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003569/0.3653, allocations: 3.379 MB / 0.4935 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.602e-05/0.3654, allocations: 19.16 kB / 0.4935 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.3655, allocations: 72.95 kB / 0.4936 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007607/0.3663, allocations: 0.6137 MB / 0.4942 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002943/0.3692, allocations: 1.859 MB / 0.496 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009497/0.3787, allocations: 13.53 MB / 0.5092 GB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.665e-05/0.3788, allocations: 170.6 kB / 0.5094 GB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.3789, allocations: 80.14 kB / 0.5095 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.3789, allocations: 83.16 kB / 0.5096 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.3789, allocations: 112.5 kB / 0.5097 GB, free: 2.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.582e-06/0.3789, allocations: 3.938 kB / 0.5097 GB, free: 2.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002231/0.3791, allocations: 147.9 kB / 0.5098 GB, free: 2.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.3792, allocations: 127.8 kB / 0.5099 GB, free: 2.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.381, allocations: 1.653 MB / 0.5116 GB, free: 1.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.381, allocations: 25.7 kB / 0.5116 GB, free: 1.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006408/0.3816, allocations: 1.359 MB / 0.5129 GB, free: 280 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.3817, allocations: 48.58 kB / 0.5129 GB, free: 260 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.3819, allocations: 186.2 kB / 0.5131 GB, free: 172 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.382, allocations: 354.8 kB / 0.5135 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005219/0.3826, allocations: 373.3 kB / 0.5138 GB, free: 15.74 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.3842, allocations: 1.932 MB / 0.5157 GB, free: 13.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/0.3867, allocations: 2.508 MB / 0.5182 GB, free: 10.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-05/0.3868, allocations: 16.47 kB / 0.5182 GB, free: 10.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003084/0.3899, allocations: 2.116 MB / 0.5202 GB, free: 9.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.954e-05/0.3899, allocations: 29.22 kB / 0.5203 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-05/0.39, allocations: 58.78 kB / 0.5203 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.681e-05/0.3901, allocations: 74 kB / 0.5204 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.3912, allocations: 496.4 kB / 0.5209 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.892e-05/0.3913, allocations: 109.3 kB / 0.521 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.3926, allocations: 321.6 kB / 0.5213 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.3927, allocations: 139.1 kB / 0.5214 GB, free: 9.547 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.001068/0.3938, allocations: 0.8704 MB / 0.5223 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.394, allocations: 230.5 kB / 0.5225 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.3942, allocations: 227.4 kB / 0.5227 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.927e-05/0.3942, allocations: 182.1 kB / 0.5229 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.357e-05/0.3943, allocations: 178.3 kB / 0.523 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.769e-05/0.3944, allocations: 181.1 kB / 0.5232 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.3961, allocations: 1.485 MB / 0.5247 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.051e-05/0.3962, allocations: 105.7 kB / 0.5248 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.3962, allocations: 106.7 kB / 0.5249 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.845e-05/0.3963, allocations: 177.7 kB / 0.525 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/0.3963, allocations: 178.2 kB / 0.5252 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.508e-05/0.3964, allocations: 189.2 kB / 0.5254 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.787e-05/0.3965, allocations: 182.2 kB / 0.5256 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.3967, allocations: 433.9 kB / 0.526 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.3969, allocations: 299.9 kB / 0.5263 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.3971, allocations: 182.8 kB / 0.5264 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.3974, allocations: 111 kB / 0.5265 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.3975, allocations: 180.9 kB / 0.5267 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.3975, allocations: 103.3 kB / 0.5268 GB, free: 5.188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001145/0.3986, allocations: 1.021 MB / 0.5278 GB, free: 4.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3986, allocations: 0 / 0.5278 GB, free: 4.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00158/0.4002, allocations: 433.3 kB / 0.5282 GB, free: 4.695 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.000538/0.4008, allocations: 0.9439 MB / 0.5291 GB, free: 3.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.4022, allocations: 0.8929 MB / 0.53 GB, free: 3.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4022, allocations: 2.594 kB / 0.53 GB, free: 3.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.4022, allocations: 128 / 0.53 GB, free: 3.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008831/0.4031, allocations: 0.6371 MB / 0.5306 GB, free: 2.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/0.4205, allocations: 15.18 MB / 0.5455 GB, free: 2.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/0.4218, allocations: 1.583 MB / 0.547 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001213/0.4231, allocations: 492 kB / 0.5475 GB, free: 404 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006457/0.4237, allocations: 0.6633 MB / 0.5481 GB, free: 15.73 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4237, allocations: 0 / 0.5481 GB, free: 15.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03919/0.4629, allocations: 20.6 MB / 0.5682 GB, free: 11.21 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/0.4632, allocations: 208.4 kB / 0.5684 GB, free: 10.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.097/2.56, allocations: 0 / 0.5684 GB, free: 10.94 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)