Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",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.001212/0.001212, allocations: 104.2 kB / 15.98 MB, free: 6.336 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.001078/0.001078, allocations: 198.4 kB / 16.91 MB, free: 6.188 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.426/1.426, allocations: 205.1 MB / 222.8 MB, free: 4.938 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3281/0.3281, allocations: 43.49 MB / 313.6 MB, free: 8.613 MB / 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.001622/0.001623, allocations: 75.11 kB / 382.3 MB, free: 8.836 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1261, allocations: 57.79 MB / 440.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.00939/0.1355, allocations: 9.219 MB / 449.3 MB, free: 5.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00435/0.1399, allocations: 2.369 MB / 451.7 MB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.141, allocations: 27.94 kB / 451.7 MB, free: 3.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.1423, allocations: 486.4 kB / 452.2 MB, free: 2.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.1439, allocations: 0.6306 MB / 452.8 MB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.1441, allocations: 23.97 kB / 452.8 MB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00189/0.146, allocations: 1.476 MB / 454.3 MB, free: 0.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2056/0.3516, allocations: 0.7667 MB / 455.1 MB, free: 37.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008255/0.3525, allocations: 498.5 kB / 455.6 MB, free: 37.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.3536, allocations: 0.7687 MB / 456.3 MB, free: 37.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003886/0.354, allocations: 85.47 kB / 456.4 MB, free: 37.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007063/0.3547, allocations: 310.3 kB / 456.7 MB, free: 37.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000606/0.3553, allocations: 0.6831 MB / 457.4 MB, free: 37.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008254/0.3561, allocations: 0.85 MB / 458.3 MB, free: 37.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.3581, allocations: 2.552 MB / 460.8 MB, free: 36.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3581, allocations: 6.078 kB / 460.8 MB, free: 36.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3581, allocations: 0 / 460.8 MB, free: 36.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.656e-05/0.3582, allocations: 0 / 460.8 MB, free: 36.61 MB / 382.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.002683/0.3609, allocations: 1.973 MB / 462.8 MB, free: 35.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.3609, allocations: 16.58 kB / 462.8 MB, free: 35.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000361/0.3613, allocations: 341.8 kB / 463.1 MB, free: 35.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004228/0.3656, allocations: 1.472 MB / 464.6 MB, free: 35.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.3671, allocations: 0.8469 MB / 465.5 MB, free: 35.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.559e-05/0.3672, allocations: 78.72 kB / 465.5 MB, free: 35.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/0.3674, allocations: 105 kB / 465.6 MB, free: 35.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004683/0.3721, allocations: 4.619 MB / 470.3 MB, free: 33.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/0.3721, allocations: 21.44 kB / 470.3 MB, free: 33.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.3723, allocations: 55.3 kB / 470.3 MB, free: 33.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001359/0.3737, allocations: 1.106 MB / 471.4 MB, free: 33.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005075/0.3787, allocations: 4 MB / 475.4 MB, free: 32.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01758/0.3963, allocations: 18.49 MB / 493.9 MB, free: 18.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.398, allocations: 1.179 MB / 495.1 MB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/0.3986, allocations: 340.3 kB / 495.4 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.3986, allocations: 9.219 kB / 495.5 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.3986, allocations: 40.2 kB / 495.5 MB, free: 17.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.867e-06/0.3987, allocations: 0 / 495.5 MB, free: 17.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.002064/0.4007, allocations: 1.029 MB / 496.5 MB, free: 17.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.4008, allocations: 109.9 kB / 496.6 MB, free: 16.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003802/0.4046, allocations: 2.212 MB / 498.8 MB, free: 16.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.4047, allocations: 31.33 kB / 498.9 MB, free: 16.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.4057, allocations: 1.616 MB / 0.4888 GB, free: 14.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.406, allocations: 262.8 kB / 0.489 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001006/0.407, allocations: 0.676 MB / 0.4897 GB, free: 14.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4071, allocations: 354.8 kB / 0.49 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.4089, allocations: 0.8932 MB / 0.4909 GB, free: 13.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002779/0.4117, allocations: 3.169 MB / 0.494 GB, free: 10.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00515/0.4169, allocations: 4.449 MB / 0.4983 GB, free: 6.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.408e-05/0.4169, allocations: 28.5 kB / 0.4983 GB, free: 6.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.009057/0.426, allocations: 3.842 MB / 0.5021 GB, free: 5.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.721e-05/0.4261, allocations: 40.44 kB / 0.5021 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001423/0.4263, allocations: 82.12 kB / 0.5022 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.4265, allocations: 105.2 kB / 0.5023 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003157/0.4296, allocations: 0.7533 MB / 0.5031 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002009/0.4299, allocations: 157.6 kB / 0.5032 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003432/0.4333, allocations: 495 kB / 0.5037 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003599/0.4337, allocations: 213 kB / 0.5039 GB, free: 4.586 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.00197/0.4357, allocations: 1.102 MB / 0.505 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003516/0.436, allocations: 172.3 kB / 0.5051 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.4364, allocations: 199 kB / 0.5053 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.67e-05/0.4365, allocations: 8.859 kB / 0.5053 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.4365, allocations: 0.8125 kB / 0.5053 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.4365, allocations: 3.531 kB / 0.5053 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004441/0.441, allocations: 2.021 MB / 0.5073 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.441, allocations: 0 / 0.5073 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004069/0.4414, allocations: 62.94 kB / 0.5074 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.4414, allocations: 2.812 kB / 0.5074 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.4415, allocations: 10.06 kB / 0.5074 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.4415, allocations: 3.938 kB / 0.5074 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4415, allocations: 2.906 kB / 0.5074 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.4428, allocations: 1.03 MB / 0.5084 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/0.4431, allocations: 231.6 kB / 0.5086 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/0.4434, allocations: 11.16 kB / 0.5086 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008337/0.4442, allocations: 27 kB / 0.5086 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.086e-05/0.4443, allocations: 27.89 kB / 0.5087 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.4444, allocations: 24.84 kB / 0.5087 GB, free: 2.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002312/0.4467, allocations: 1.368 MB / 0.51 GB, free: 1.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.4468, allocations: 4 kB / 0.51 GB, free: 1.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003882/0.4506, allocations: 0.49 MB / 0.5105 GB, free: 1.559 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.001805/0.4525, allocations: 1.632 MB / 0.5121 GB, free: 468 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005053/0.4575, allocations: 2.159 MB / 0.5142 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.4576, allocations: 1.031 kB / 0.5142 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006669/0.4582, allocations: 330.3 kB / 0.5145 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.4602, allocations: 168.9 kB / 0.5147 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04584/0.506, allocations: 22.22 MB / 0.5364 GB, free: 5.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002414/0.5085, allocations: 1.792 MB / 0.5381 GB, free: 3.457 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.004125/0.5126, allocations: 1.109 MB / 0.5392 GB, free: 2.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/0.514, allocations: 0.7297 MB / 0.5399 GB, free: 1.613 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.514, allocations: 0 / 0.5399 GB, free: 1.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06639/0.5804, allocations: 28.37 MB / 0.5676 GB, free: 5.309 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/0.5806, allocations: 211.3 kB / 0.5678 GB, free: 5.051 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/3.246, allocations: 4.062 kB / 0.5678 GB, free: 5.047 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)