Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001314/0.001314, allocations: 103.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2282/0.2282, allocations: 46.11 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 73.31 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.129, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.007461/0.1365, allocations: 5.705 MB / 485.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003777/0.1404, allocations: 1.838 MB / 487.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006432/0.141, allocations: 20 kB / 487.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.1424, allocations: 0.5213 MB / 488.3 MB, free: 13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.1441, allocations: 0.673 MB / 489 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.556e-05/0.1442, allocations: 19.98 kB / 489 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00161/0.1458, allocations: 1.421 MB / 490.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000932/0.1468, allocations: 0.7043 MB / 491.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006088/0.1474, allocations: 494 kB / 491.6 MB, free: 9.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008106/0.1482, allocations: 0.6732 MB / 492.3 MB, free: 9.004 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.1484, allocations: 88 kB / 492.3 MB, free: 8.918 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000606/0.149, allocations: 315.5 kB / 492.7 MB, free: 8.609 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000612/0.1496, allocations: 0.6582 MB / 493.3 MB, free: 7.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000877/0.1505, allocations: 0.8186 MB / 494.1 MB, free: 7.125 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00302/0.1535, allocations: 2.508 MB / 496.6 MB, free: 4.609 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1536, allocations: 4 kB / 496.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1536, allocations: 0 / 496.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.612e-05/0.1536, allocations: 0 / 496.6 MB, free: 4.605 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.003017/0.1566, allocations: 1.951 MB / 498.6 MB, free: 2.602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.1567, allocations: 8.031 kB / 498.6 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003872/0.1571, allocations: 352 kB / 498.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004901/0.162, allocations: 1.468 MB / 0.4887 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.1637, allocations: 0.8435 MB / 0.4895 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-05/0.1638, allocations: 85.98 kB / 0.4896 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/0.164, allocations: 107.9 kB / 0.4897 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006332/0.1704, allocations: 4.618 MB / 0.4942 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.63e-05/0.1704, allocations: 23.81 kB / 0.4942 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.1706, allocations: 55.91 kB / 0.4943 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001769/0.1724, allocations: 1.092 MB / 0.4953 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006332/0.1787, allocations: 4.019 MB / 0.4993 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2235/0.4023, allocations: 18.47 MB / 0.5173 GB, free: 25.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.4036, allocations: 1.174 MB / 0.5185 GB, free: 24.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004019/0.404, allocations: 348.4 kB / 0.5188 GB, free: 24.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.404, allocations: 5.969 kB / 0.5188 GB, free: 24.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.4041, allocations: 45.36 kB / 0.5188 GB, free: 24.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.226e-06/0.4041, allocations: 1.562 kB / 0.5188 GB, free: 24.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.00155/0.4056, allocations: 1.026 MB / 0.5198 GB, free: 24.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.4057, allocations: 109.8 kB / 0.5199 GB, free: 24.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003064/0.4088, allocations: 2.196 MB / 0.5221 GB, free: 23.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/0.4088, allocations: 31.08 kB / 0.5221 GB, free: 23.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009993/0.4098, allocations: 1.622 MB / 0.5237 GB, free: 22.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.4101, allocations: 263.2 kB / 0.524 GB, free: 21.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008556/0.411, allocations: 0.6763 MB / 0.5246 GB, free: 21.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4111, allocations: 358 kB / 0.525 GB, free: 21.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.4126, allocations: 0.8913 MB / 0.5258 GB, free: 21.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/0.4148, allocations: 3.176 MB / 0.5289 GB, free: 17.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005053/0.4199, allocations: 4.446 MB / 0.5333 GB, free: 13.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.924e-05/0.42, allocations: 23.47 kB / 0.5333 GB, free: 13.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006735/0.4268, allocations: 3.839 MB / 0.537 GB, free: 12.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.188e-05/0.4269, allocations: 42.53 kB / 0.5371 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001479/0.4271, allocations: 84.84 kB / 0.5372 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.4272, allocations: 106.5 kB / 0.5373 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/0.4293, allocations: 0.7505 MB / 0.538 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001029/0.4294, allocations: 156.4 kB / 0.5381 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/0.4319, allocations: 499.8 kB / 0.5386 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002642/0.4321, allocations: 222.4 kB / 0.5388 GB, free: 11.55 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001282/0.4334, allocations: 1.095 MB / 0.5399 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/0.4337, allocations: 167.8 kB / 0.5401 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.434, allocations: 197 kB / 0.5403 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.434, allocations: 13.14 kB / 0.5403 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.434, allocations: 0 / 0.5403 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.434, allocations: 0 / 0.5403 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003168/0.4372, allocations: 2.019 MB / 0.5422 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.4373, allocations: 0 / 0.5422 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.4375, allocations: 64.12 kB / 0.5423 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.4376, allocations: 7.719 kB / 0.5423 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.4376, allocations: 11.2 kB / 0.5423 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.4376, allocations: 0 / 0.5423 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/0.4376, allocations: 5.156 kB / 0.5423 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009347/0.4386, allocations: 1.03 MB / 0.5433 GB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/0.4389, allocations: 227.8 kB / 0.5435 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.4391, allocations: 17.14 kB / 0.5436 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/0.4395, allocations: 23.89 kB / 0.5436 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.4396, allocations: 23.34 kB / 0.5436 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.4396, allocations: 22.19 kB / 0.5436 GB, free: 9.152 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001549/0.4412, allocations: 1.37 MB / 0.545 GB, free: 8.457 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4412, allocations: 0 / 0.545 GB, free: 8.457 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002497/0.4437, allocations: 0.4883 MB / 0.5454 GB, free: 8.086 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 (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.001228/0.445, allocations: 1.645 MB / 0.547 GB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002972/0.4479, allocations: 2.14 MB / 0.5491 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.448, allocations: 0 / 0.5491 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.4483, allocations: 331.7 kB / 0.5495 GB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.4496, allocations: 168.5 kB / 0.5496 GB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03166/0.4812, allocations: 21.42 MB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/0.4831, allocations: 1.79 MB / 0.5723 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002643/0.4858, allocations: 1.112 MB / 0.5734 GB, free: 8.117 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/0.4869, allocations: 0.7297 MB / 0.5741 GB, free: 7.387 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4869, allocations: 0 / 0.5741 GB, free: 7.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06709/0.554, allocations: 28.46 MB / 0.6019 GB, free: 11.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.822/9.376, allocations: 9.5 kB / 0.6019 GB, free: 11.06 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)