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.001851/0.001851, allocations: 198.7 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 103.1 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3713/0.3713, allocations: 45.24 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 11.98 kB / 468.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4398, allocations: 63.24 MB / 0.5193 GB, free: 43.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/0.5814, allocations: 95.74 MB / 0.6128 GB, free: 9.875 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.5817, allocations: 84.41 kB / 0.6128 GB, free: 9.797 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0756/0.6574, allocations: 28.1 MB / 0.6403 GB, free: 13.51 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.297e-06/0.6574, allocations: 0 / 0.6403 GB, free: 13.51 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001184/0.6576, allocations: 36 kB / 0.6403 GB, free: 13.47 MB / 458.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.00546/0.663, allocations: 1.667 MB / 0.6419 GB, free: 11.75 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.6631, allocations: 8.031 kB / 0.642 GB, free: 11.74 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0013/0.6644, allocations: 350.4 kB / 0.6423 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.6661, allocations: 261.2 kB / 0.6425 GB, free: 11.13 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/0.6688, allocations: 0.8464 MB / 0.6434 GB, free: 10.24 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.669, allocations: 147.8 kB / 0.6435 GB, free: 10.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007009/0.6698, allocations: 184 kB / 0.6437 GB, free: 9.918 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005734/0.6755, allocations: 3.372 MB / 0.647 GB, free: 6.152 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.785e-05/0.6756, allocations: 15.88 kB / 0.647 GB, free: 6.137 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.6758, allocations: 91.89 kB / 0.6471 GB, free: 6.047 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004397/0.6763, allocations: 328.2 kB / 0.6474 GB, free: 5.727 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003472/0.6798, allocations: 1.868 MB / 0.6492 GB, free: 3.859 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01812/0.6979, allocations: 15.22 MB / 0.6641 GB, free: 4.141 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.6981, allocations: 169.1 kB / 0.6642 GB, free: 3.965 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.6981, allocations: 79.28 kB / 0.6643 GB, free: 3.887 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.345e-05/0.6982, allocations: 109.8 kB / 0.6644 GB, free: 3.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 3.066e-06/0.6982, allocations: 0 / 0.6644 GB, free: 3.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004509/0.6987, allocations: 148.1 kB / 0.6646 GB, free: 3.617 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/0.6988, allocations: 130.7 kB / 0.6647 GB, free: 3.477 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002977/0.7017, allocations: 1.475 MB / 0.6661 GB, free: 1.996 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.7018, allocations: 25.7 kB / 0.6662 GB, free: 1.965 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001239/0.703, allocations: 1.355 MB / 0.6675 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.272e-05/0.7031, allocations: 43.95 kB / 0.6675 GB, free: 0.543 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.475e-05/0.7032, allocations: 40 kB / 0.6676 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000316/0.7036, allocations: 438.7 kB / 0.668 GB, free: 68 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007015/0.7043, allocations: 363.9 kB / 0.6683 GB, free: 15.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/0.7063, allocations: 1.925 MB / 0.6702 GB, free: 12.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.7076, allocations: 0.7685 MB / 0.6709 GB, free: 12.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.758e-05/0.7077, allocations: 16 kB / 0.671 GB, free: 12.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004128/0.7118, allocations: 2.099 MB / 0.673 GB, free: 10.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.791e-05/0.7119, allocations: 36.03 kB / 0.673 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.484e-05/0.712, allocations: 56 kB / 0.6731 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-05/0.7121, allocations: 80 kB / 0.6732 GB, free: 9.902 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.7134, allocations: 491 kB / 0.6736 GB, free: 9.422 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001117/0.7135, allocations: 107.6 kB / 0.6738 GB, free: 9.316 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.7154, allocations: 324.4 kB / 0.6741 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.7156, allocations: 144 kB / 0.6742 GB, free: 8.855 MB / 490.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0015/0.7171, allocations: 0.8705 MB / 0.675 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003091/0.7174, allocations: 231.3 kB / 0.6753 GB, free: 7.738 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.7178, allocations: 228.5 kB / 0.6755 GB, free: 7.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-05/0.7178, allocations: 180.3 kB / 0.6757 GB, free: 7.316 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-05/0.7179, allocations: 188.2 kB / 0.6758 GB, free: 7.125 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-05/0.718, allocations: 180.2 kB / 0.676 GB, free: 6.941 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/0.7206, allocations: 1.47 MB / 0.6774 GB, free: 5.414 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-05/0.7207, allocations: 108.9 kB / 0.6775 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.593e-05/0.7207, allocations: 101 kB / 0.6776 GB, free: 5.195 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.76e-05/0.7208, allocations: 188.4 kB / 0.6778 GB, free: 5.004 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.379e-05/0.7209, allocations: 188.2 kB / 0.678 GB, free: 4.812 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.089e-05/0.721, allocations: 176.3 kB / 0.6782 GB, free: 4.633 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.331e-05/0.7211, allocations: 184.2 kB / 0.6783 GB, free: 4.445 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.7215, allocations: 429.3 kB / 0.6788 GB, free: 4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005057/0.722, allocations: 304.4 kB / 0.679 GB, free: 3.676 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003399/0.7223, allocations: 176.3 kB / 0.6792 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.7227, allocations: 116.9 kB / 0.6793 GB, free: 3.375 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.872e-05/0.7228, allocations: 180.2 kB / 0.6795 GB, free: 3.191 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/0.7229, allocations: 104.9 kB / 0.6796 GB, free: 3.082 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00161/0.7245, allocations: 1.007 MB / 0.6806 GB, free: 2.078 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7245, allocations: 4 kB / 0.6806 GB, free: 2.074 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002033/0.7265, allocations: 430.2 kB / 0.681 GB, free: 1.652 MB / 490.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 () * 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 (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.0007009/0.7273, allocations: 0.9321 MB / 0.6819 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.7289, allocations: 0.8994 MB / 0.6828 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.729, allocations: 3.938 kB / 0.6828 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.729, allocations: 0 / 0.6828 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009057/0.7299, allocations: 0.6393 MB / 0.6834 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3288/1.059, allocations: 48.51 MB / 0.7308 GB, free: 93.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/1.06, allocations: 1.614 MB / 0.7324 GB, free: 92.74 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001324/1.061, allocations: 490 kB / 0.7328 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007905/1.062, allocations: 0.6679 MB / 0.7335 GB, free: 92.72 MB / 0.4948 GB Notification: Performance of SimCode: time 1.312e-06/1.062, allocations: 0 / 0.7335 GB, free: 92.72 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04659/1.109, allocations: 22.23 MB / 0.7552 GB, free: 91.52 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/1.109, allocations: 185 kB / 0.7554 GB, free: 91.28 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.673/3.782, allocations: 3.938 kB / 0.7554 GB, free: 91.28 MB / 0.4948 GB (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