Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008745/0.0008746, allocations: 100.2 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008555/0.0008559, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246 MB, free: 10.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2189/0.2189, allocations: 45.93 MB / 344.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.0002658, allocations: 11.98 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1452, allocations: 63.47 MB / 481.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.009122/0.1544, allocations: 8.197 MB / 489.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005123/0.1595, allocations: 2.26 MB / 492.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007958/0.1604, allocations: 27.94 kB / 492.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008826/0.1613, allocations: 386.3 kB / 492.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002206/0.1635, allocations: 1.105 MB / 493.6 MB, free: 9.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.1636, allocations: 15.98 kB / 493.6 MB, free: 9.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001686/0.1653, allocations: 1.584 MB / 495.2 MB, free: 7.629 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.1666, allocations: 0.9019 MB / 496.1 MB, free: 6.695 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005674/0.1671, allocations: 466.1 kB / 496.6 MB, free: 6.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008353/0.168, allocations: 0.7046 MB / 497.3 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.1681, allocations: 56 kB / 497.3 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005336/0.1687, allocations: 263.5 kB / 497.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005937/0.1693, allocations: 0.631 MB / 498.2 MB, free: 4.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.1695, allocations: 368.5 kB / 498.6 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.1714, allocations: 2.007 MB / 0.4888 GB, free: 2.207 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1714, allocations: 0 / 0.4888 GB, free: 2.207 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1714, allocations: 0 / 0.4888 GB, free: 2.207 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.635e-05/0.1714, allocations: 0 / 0.4888 GB, free: 2.207 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.002247/0.1737, allocations: 1.67 MB / 0.4905 GB, free: 496 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1737, allocations: 8.031 kB / 0.4905 GB, free: 488 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003448/0.1741, allocations: 343.9 kB / 0.4908 GB, free: 136 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004333/0.1784, allocations: 1.514 MB / 0.4923 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.1798, allocations: 0.8424 MB / 0.4931 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.19e-05/0.1799, allocations: 73.92 kB / 0.4932 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.1801, allocations: 107.8 kB / 0.4933 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006333/0.1864, allocations: 4.614 MB / 0.4978 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.1865, allocations: 19.81 kB / 0.4978 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/0.1867, allocations: 59.91 kB / 0.4979 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001656/0.1883, allocations: 1.095 MB / 0.4989 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006354/0.1947, allocations: 3.992 MB / 0.5028 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2895/0.4842, allocations: 18.47 MB / 0.5209 GB, free: 25.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.4861, allocations: 1.177 MB / 0.522 GB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006626/0.4868, allocations: 342.2 kB / 0.5223 GB, free: 24.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.4869, allocations: 4.656 kB / 0.5224 GB, free: 24.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.4869, allocations: 49.06 kB / 0.5224 GB, free: 24.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.626e-06/0.4869, allocations: 0 / 0.5224 GB, free: 24.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.002412/0.4893, allocations: 1.024 MB / 0.5234 GB, free: 24.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.4894, allocations: 112.6 kB / 0.5235 GB, free: 24.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004749/0.4942, allocations: 2.195 MB / 0.5256 GB, free: 23.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.784e-05/0.4943, allocations: 33.08 kB / 0.5257 GB, free: 23.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001453/0.4957, allocations: 1.631 MB / 0.5273 GB, free: 22.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003533/0.4961, allocations: 259.4 kB / 0.5275 GB, free: 21.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.4963, allocations: 65.16 kB / 0.5276 GB, free: 21.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003935/0.4967, allocations: 0.4953 MB / 0.5281 GB, free: 21.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/0.4988, allocations: 0.8806 MB / 0.5289 GB, free: 21.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003366/0.5022, allocations: 3.161 MB / 0.532 GB, free: 17.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003396/0.5056, allocations: 1.678 MB / 0.5337 GB, free: 17.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.842e-05/0.5057, allocations: 25.09 kB / 0.5337 GB, free: 17.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.008528/0.5143, allocations: 3.81 MB / 0.5374 GB, free: 15.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.562e-05/0.5144, allocations: 39.88 kB / 0.5374 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/0.5146, allocations: 81.56 kB / 0.5375 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/0.5148, allocations: 121.4 kB / 0.5376 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003058/0.5179, allocations: 0.7571 MB / 0.5384 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001833/0.5181, allocations: 163.6 kB / 0.5385 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/0.5214, allocations: 497.3 kB / 0.539 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003867/0.5218, allocations: 217.3 kB / 0.5392 GB, free: 15.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 371 * Number of states: 0 () * Number of discrete variables: 12 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 407 * Array equations: 3 * 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.001742/0.5236, allocations: 1.093 MB / 0.5403 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/0.524, allocations: 166.2 kB / 0.5404 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/0.5244, allocations: 201.8 kB / 0.5406 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/0.5244, allocations: 7.688 kB / 0.5406 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.5244, allocations: 7.609 kB / 0.5406 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.5245, allocations: 3.953 kB / 0.5406 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004193/0.5287, allocations: 2.009 MB / 0.5426 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.5287, allocations: 3.688 kB / 0.5426 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/0.5291, allocations: 67.86 kB / 0.5427 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/0.5292, allocations: 7.641 kB / 0.5427 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.5292, allocations: 7.156 kB / 0.5427 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.5292, allocations: 3.531 kB / 0.5427 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5293, allocations: 0 / 0.5427 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.5306, allocations: 1.03 MB / 0.5437 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/0.5311, allocations: 237.2 kB / 0.5439 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/0.5313, allocations: 11.64 kB / 0.5439 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007686/0.5321, allocations: 28.58 kB / 0.544 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.5322, allocations: 26.41 kB / 0.544 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/0.5323, allocations: 23.09 kB / 0.544 GB, free: 12.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002652/0.5349, allocations: 1.368 MB / 0.5453 GB, free: 11.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.535, allocations: 0 / 0.5453 GB, free: 11.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003081/0.538, allocations: 0.4934 MB / 0.5458 GB, free: 11.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 33 * Array equations: 3 * 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.001299/0.5394, allocations: 1.636 MB / 0.5474 GB, free: 9.594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003259/0.5426, allocations: 2.02 MB / 0.5494 GB, free: 7.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5426, allocations: 0 / 0.5494 GB, free: 7.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004922/0.5431, allocations: 336.6 kB / 0.5497 GB, free: 7.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.5443, allocations: 160.5 kB / 0.5499 GB, free: 7.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0249/0.5693, allocations: 13.9 MB / 0.5634 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/0.5716, allocations: 1.79 MB / 0.5652 GB, free: 5.641 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002792/0.5744, allocations: 1.117 MB / 0.5663 GB, free: 4.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/0.5756, allocations: 0.7375 MB / 0.567 GB, free: 3.781 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5756, allocations: 0 / 0.567 GB, free: 3.781 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05936/0.635, allocations: 32.38 MB / 0.5986 GB, free: 3.637 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.6352, allocations: 190.8 kB / 0.5988 GB, free: 3.398 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.695/3.331, allocations: 0 / 0.5988 GB, free: 3.398 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat does not exist to compare? outputFormat=mat