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.001545/0.001545, allocations: 105.1 kB / 16.4 MB, free: 6.484 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.001716/0.001716, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.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.1949/0.1949, allocations: 43.52 MB / 314.1 MB, free: 468 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.001569/0.001569, allocations: 71.91 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09547/0.09705, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.008743/0.1058, allocations: 8.722 MB / 0.4959 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004303/0.1102, allocations: 2.263 MB / 0.4981 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.1114, allocations: 39.94 kB / 0.4982 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003751/0.1152, allocations: 1.519 MB / 0.4996 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.1167, allocations: 481.2 kB / 0.5001 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.1171, allocations: 63.91 kB / 0.5002 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001578/0.1187, allocations: 0.9487 MB / 0.5011 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001907/0.1206, allocations: 1.494 MB / 0.5025 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009385/0.1216, allocations: 0.5449 MB / 0.5031 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.1229, allocations: 0.6849 MB / 0.5037 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004318/0.1234, allocations: 120 kB / 0.5039 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006219/0.124, allocations: 127.9 kB / 0.504 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009264/0.1249, allocations: 0.7363 MB / 0.5047 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.1264, allocations: 0.858 MB / 0.5055 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.1292, allocations: 2.331 MB / 0.5078 GB, free: 7.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.1292, allocations: 8 kB / 0.5078 GB, free: 7.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1292, allocations: 0 / 0.5078 GB, free: 7.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001171/0.1293, allocations: 4 kB / 0.5078 GB, free: 7.262 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.003965/0.1333, allocations: 1.955 MB / 0.5097 GB, free: 5.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.1334, allocations: 15.83 kB / 0.5097 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006228/0.134, allocations: 330.5 kB / 0.5101 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007805/0.1348, allocations: 218.1 kB / 0.5103 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.1364, allocations: 0.7263 MB / 0.511 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.1365, allocations: 119.4 kB / 0.5111 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002519/0.1368, allocations: 147.9 kB / 0.5112 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004994/0.1418, allocations: 3.383 MB / 0.5145 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-05/0.1419, allocations: 19.81 kB / 0.5146 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002962/0.1422, allocations: 71.94 kB / 0.5146 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008411/0.1431, allocations: 0.6148 MB / 0.5152 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004096/0.1472, allocations: 1.865 MB / 0.517 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2104/0.3576, allocations: 13.47 MB / 0.5302 GB, free: 36.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.358e-05/0.3577, allocations: 169.4 kB / 0.5304 GB, free: 36.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.3578, allocations: 86.42 kB / 0.5304 GB, free: 36.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.3578, allocations: 76.03 kB / 0.5305 GB, free: 36.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.3578, allocations: 111.9 kB / 0.5306 GB, free: 36.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.874e-06/0.3578, allocations: 0 / 0.5306 GB, free: 36.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.000305/0.3581, allocations: 154.3 kB / 0.5308 GB, free: 36.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.3582, allocations: 126.7 kB / 0.5309 GB, free: 35.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.3603, allocations: 1.652 MB / 0.5325 GB, free: 35.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.3604, allocations: 26.2 kB / 0.5325 GB, free: 35.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007349/0.3611, allocations: 1.357 MB / 0.5339 GB, free: 35.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.543e-05/0.3612, allocations: 45.5 kB / 0.5339 GB, free: 35.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000422/0.3616, allocations: 429.9 kB / 0.5343 GB, free: 34.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.3617, allocations: 359 kB / 0.5347 GB, free: 34.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005744/0.3623, allocations: 369.9 kB / 0.535 GB, free: 34.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.3635, allocations: 1.932 MB / 0.5369 GB, free: 32.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00186/0.3653, allocations: 2.511 MB / 0.5393 GB, free: 30.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.06e-05/0.3654, allocations: 16.16 kB / 0.5394 GB, free: 30.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003428/0.3689, allocations: 2.111 MB / 0.5414 GB, free: 29.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.07e-05/0.3689, allocations: 30.56 kB / 0.5414 GB, free: 29.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/0.3691, allocations: 57.2 kB / 0.5415 GB, free: 29.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001042/0.3692, allocations: 73.88 kB / 0.5416 GB, free: 29.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.3704, allocations: 491.2 kB / 0.542 GB, free: 29.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001007/0.3705, allocations: 115.7 kB / 0.5422 GB, free: 29.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.372, allocations: 320.8 kB / 0.5425 GB, free: 29.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/0.3723, allocations: 140.2 kB / 0.5426 GB, free: 29.57 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.001139/0.3735, allocations: 0.8596 MB / 0.5434 GB, free: 29.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.3737, allocations: 239.3 kB / 0.5437 GB, free: 29.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.3739, allocations: 228.6 kB / 0.5439 GB, free: 28.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/0.3739, allocations: 182 kB / 0.5441 GB, free: 28.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.361e-05/0.3739, allocations: 179.6 kB / 0.5442 GB, free: 28.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/0.374, allocations: 177.2 kB / 0.5444 GB, free: 28.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.3761, allocations: 1.488 MB / 0.5458 GB, free: 27.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/0.3761, allocations: 104.2 kB / 0.5459 GB, free: 27.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.36e-05/0.3762, allocations: 104.9 kB / 0.546 GB, free: 27.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.393e-05/0.3762, allocations: 177.5 kB / 0.5462 GB, free: 27.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.3762, allocations: 182.9 kB / 0.5464 GB, free: 27.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.132e-05/0.3763, allocations: 180.2 kB / 0.5466 GB, free: 26.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.118e-05/0.3763, allocations: 185.3 kB / 0.5467 GB, free: 26.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.3765, allocations: 434.7 kB / 0.5472 GB, free: 26.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.3769, allocations: 292.7 kB / 0.5474 GB, free: 26.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.3771, allocations: 182.5 kB / 0.5476 GB, free: 25.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.3774, allocations: 108 kB / 0.5477 GB, free: 25.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.3775, allocations: 186.2 kB / 0.5479 GB, free: 25.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.3775, allocations: 108.6 kB / 0.548 GB, free: 25.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0015/0.379, allocations: 1.023 MB / 0.549 GB, free: 25.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.379, allocations: 0 / 0.549 GB, free: 25.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001983/0.381, allocations: 430.9 kB / 0.5494 GB, free: 24.97 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.0004565/0.3815, allocations: 0.9363 MB / 0.5503 GB, free: 24.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.383, allocations: 0.8995 MB / 0.5512 GB, free: 23.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.383, allocations: 0.8125 kB / 0.5512 GB, free: 23.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.916e-06/0.383, allocations: 0 / 0.5512 GB, free: 23.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009706/0.384, allocations: 0.5755 MB / 0.5518 GB, free: 23.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/0.4015, allocations: 13.55 MB / 0.565 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/0.403, allocations: 1.576 MB / 0.5665 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001144/0.4042, allocations: 495.6 kB / 0.567 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006438/0.4048, allocations: 0.67 MB / 0.5677 GB, free: 12.17 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4049, allocations: 0 / 0.5677 GB, free: 12.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04196/0.4468, allocations: 21.96 MB / 0.5891 GB, free: 9.273 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.51, allocations: 7.344 kB / 0.5891 GB, free: 9.27 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)