Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000963/0.0009631, allocations: 94.39 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 45.15 MB / 383.8 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.758e-05/1.768e-05, allocations: 0 / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 63.24 MB / 0.5044 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4102/0.5192, allocations: 95 MB / 0.5972 GB, free: 7.367 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.5195, allocations: 82.33 kB / 0.5973 GB, free: 7.324 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06381/0.5833, allocations: 27.35 MB / 0.624 GB, free: 24 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5834, allocations: 0 / 0.624 GB, free: 24 kB / 410.7 MB Notification: Performance of Transformations before backend: time 9.201e-05/0.5835, allocations: 32.05 kB / 0.624 GB, free: 15.99 MB / 426.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.002202/0.5857, allocations: 1.592 MB / 0.6256 GB, free: 14.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.5858, allocations: 8.031 kB / 0.6256 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008114/0.5866, allocations: 269.1 kB / 0.6259 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.5879, allocations: 0.8389 MB / 0.6267 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.721e-05/0.588, allocations: 64 kB / 0.6267 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.5882, allocations: 112 kB / 0.6268 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002364/0.5905, allocations: 1.701 MB / 0.6285 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003858/0.5944, allocations: 3.054 MB / 0.6315 GB, free: 9.379 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.04e-05/0.5945, allocations: 19.86 kB / 0.6315 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.5946, allocations: 15.94 kB / 0.6315 GB, free: 9.344 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003878/0.595, allocations: 325.6 kB / 0.6318 GB, free: 9.066 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.6071, allocations: 14.53 MB / 0.646 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.169e-05/0.6072, allocations: 167.7 kB / 0.6462 GB, free: 11.24 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.353e-05/0.6073, allocations: 84.09 kB / 0.6463 GB, free: 11.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.6073, allocations: 79.22 kB / 0.6463 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.6073, allocations: 113.8 kB / 0.6465 GB, free: 10.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 2.234e-06/0.6074, allocations: 7.938 kB / 0.6465 GB, free: 10.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002258/0.6076, allocations: 124.4 kB / 0.6466 GB, free: 10.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.6076, allocations: 51.41 kB / 0.6466 GB, free: 10.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.6088, allocations: 1.123 MB / 0.6477 GB, free: 9.898 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.6089, allocations: 25.7 kB / 0.6477 GB, free: 9.867 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008019/0.6097, allocations: 1.383 MB / 0.6491 GB, free: 8.656 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.6097, allocations: 54.45 kB / 0.6491 GB, free: 8.621 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.6098, allocations: 0 / 0.6491 GB, free: 8.621 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.61, allocations: 419.3 kB / 0.6495 GB, free: 8.246 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.6104, allocations: 312.7 kB / 0.6498 GB, free: 8.027 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.6119, allocations: 1.852 MB / 0.6517 GB, free: 5.535 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008484/0.6128, allocations: 0.7287 MB / 0.6524 GB, free: 4.957 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-05/0.6128, allocations: 16 kB / 0.6524 GB, free: 4.941 MB / 442.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002699/0.6155, allocations: 1.724 MB / 0.6541 GB, free: 3.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.468e-05/0.6156, allocations: 35.95 kB / 0.6541 GB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.224e-05/0.6157, allocations: 56 kB / 0.6542 GB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.462e-05/0.6158, allocations: 80 kB / 0.6542 GB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.6169, allocations: 485.3 kB / 0.6547 GB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.578e-05/0.617, allocations: 111.5 kB / 0.6548 GB, free: 2.691 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.6181, allocations: 256 kB / 0.655 GB, free: 2.441 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.6183, allocations: 140.6 kB / 0.6552 GB, free: 2.32 MB / 442.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 () * 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.0002668/0.6186, allocations: 331.8 kB / 0.6555 GB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001651/0.6187, allocations: 237.3 kB / 0.6557 GB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.6189, allocations: 207.6 kB / 0.6559 GB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.619, allocations: 210.8 kB / 0.6561 GB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-05/0.6191, allocations: 184.2 kB / 0.6563 GB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.145e-05/0.6192, allocations: 180.3 kB / 0.6565 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.639e-05/0.6192, allocations: 176.3 kB / 0.6566 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.6204, allocations: 1.023 MB / 0.6576 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.856e-05/0.6204, allocations: 101.1 kB / 0.6577 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.6204, allocations: 109 kB / 0.6578 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.177e-05/0.6205, allocations: 184.2 kB / 0.658 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-05/0.6206, allocations: 180.2 kB / 0.6582 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-05/0.6206, allocations: 176.3 kB / 0.6584 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.274e-05/0.6207, allocations: 188.1 kB / 0.6585 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.6209, allocations: 408.2 kB / 0.6589 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.6211, allocations: 267.8 kB / 0.6592 GB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.6212, allocations: 184.3 kB / 0.6594 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.6215, allocations: 108.2 kB / 0.6595 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.6215, allocations: 192.1 kB / 0.6596 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.6216, allocations: 108.9 kB / 0.6597 GB, free: 13.65 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007956/0.6224, allocations: 0.7214 MB / 0.6604 GB, free: 13.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6224, allocations: 0 / 0.6604 GB, free: 13.12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001434/0.6238, allocations: 413.7 kB / 0.6608 GB, free: 12.71 MB / 458.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 () * 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.0004697/0.6243, allocations: 0.9157 MB / 0.6617 GB, free: 11.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009119/0.6252, allocations: 0.7656 MB / 0.6625 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6252, allocations: 0 / 0.6625 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.6252, allocations: 0 / 0.6625 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.6258, allocations: 0.6104 MB / 0.6631 GB, free: 10.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004307/0.6301, allocations: 2.493 MB / 0.6655 GB, free: 8.055 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/0.6314, allocations: 1.614 MB / 0.6671 GB, free: 6.406 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00109/0.6325, allocations: 461.6 kB / 0.6675 GB, free: 5.953 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006248/0.6332, allocations: 0.6711 MB / 0.6682 GB, free: 5.281 MB / 458.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6332, allocations: 0 / 0.6682 GB, free: 5.281 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04476/0.6779, allocations: 18.65 MB / 0.6864 GB, free: 2.684 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.6782, allocations: 130.1 kB / 0.6865 GB, free: 2.496 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/2.89, allocations: 0 / 0.6865 GB, free: 2.496 MB / 474.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat does not exist to compare? outputFormat=mat