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.00148/0.00148, allocations: 109.3 kB / 16.41 MB, free: 5.984 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.001695/0.001695, allocations: 191.1 kB / 17.34 MB, free: 5.586 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.295/1.295, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1922/0.1922, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 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.001438/0.001438, allocations: 65.47 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09668/0.09813, allocations: 57.8 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.006356/0.1045, allocations: 5.729 MB / 0.493 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003188/0.1077, allocations: 1.835 MB / 0.4948 GB, free: 4.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005392/0.1083, allocations: 20 kB / 0.4948 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.1096, allocations: 0.5019 MB / 0.4953 GB, free: 4.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.1112, allocations: 0.6768 MB / 0.4959 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.1114, allocations: 12 kB / 0.4959 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002028/0.1135, allocations: 1.452 MB / 0.4974 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.1145, allocations: 0.7229 MB / 0.4981 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007215/0.1153, allocations: 490 kB / 0.4985 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009662/0.1162, allocations: 0.6732 MB / 0.4992 GB, free: 148 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002569/0.1165, allocations: 88 kB / 0.4993 GB, free: 60 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006581/0.1172, allocations: 307.5 kB / 0.4996 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006035/0.1178, allocations: 0.6699 MB / 0.5002 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009096/0.1187, allocations: 0.8342 MB / 0.501 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003077/0.1218, allocations: 2.673 MB / 0.5037 GB, free: 11.56 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.1218, allocations: 0 / 0.5037 GB, free: 11.56 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1219, allocations: 0 / 0.5037 GB, free: 11.56 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001123/0.122, allocations: 0 / 0.5037 GB, free: 11.56 MB / 398.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.003958/0.1259, allocations: 1.967 MB / 0.5056 GB, free: 9.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.126, allocations: 15.89 kB / 0.5056 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006917/0.1267, allocations: 348.1 kB / 0.5059 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/0.1316, allocations: 1.464 MB / 0.5074 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.1335, allocations: 0.855 MB / 0.5082 GB, free: 6.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.1336, allocations: 78.05 kB / 0.5083 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/0.1338, allocations: 103.9 kB / 0.5084 GB, free: 6.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00523/0.139, allocations: 4.626 MB / 0.5129 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/0.1391, allocations: 19.81 kB / 0.5129 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.1392, allocations: 55.92 kB / 0.513 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001615/0.1409, allocations: 1.103 MB / 0.514 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005963/0.1468, allocations: 4.007 MB / 0.5179 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2002/0.3471, allocations: 18.41 MB / 0.5359 GB, free: 25.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.3482, allocations: 1.171 MB / 0.5371 GB, free: 24.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004022/0.3487, allocations: 346.9 kB / 0.5374 GB, free: 24.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.3487, allocations: 6.406 kB / 0.5374 GB, free: 24.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.3487, allocations: 39.45 kB / 0.5374 GB, free: 24.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=60): time 3.397e-06/0.3487, allocations: 2.391 kB / 0.5374 GB, free: 24.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=60): time 0.001513/0.3502, allocations: 1.031 MB / 0.5384 GB, free: 24.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.3503, allocations: 107.9 kB / 0.5386 GB, free: 24.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/0.3531, allocations: 2.205 MB / 0.5407 GB, free: 23.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.3532, allocations: 34.39 kB / 0.5407 GB, free: 23.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007872/0.354, allocations: 1.624 MB / 0.5423 GB, free: 22.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.3543, allocations: 263.5 kB / 0.5426 GB, free: 22.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007625/0.355, allocations: 0.6732 MB / 0.5432 GB, free: 22.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3552, allocations: 358.4 kB / 0.5436 GB, free: 22.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.3565, allocations: 0.8937 MB / 0.5444 GB, free: 22.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/0.3586, allocations: 3.161 MB / 0.5475 GB, free: 18.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003828/0.3625, allocations: 4.453 MB / 0.5519 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.724e-05/0.3626, allocations: 23.88 kB / 0.5519 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006233/0.3688, allocations: 3.847 MB / 0.5557 GB, free: 13.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.616e-05/0.3689, allocations: 41.88 kB / 0.5557 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001369/0.3691, allocations: 81.97 kB / 0.5558 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001522/0.3692, allocations: 106.7 kB / 0.5559 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/0.3716, allocations: 0.7523 MB / 0.5566 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000155/0.3717, allocations: 154.8 kB / 0.5568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.3742, allocations: 496.1 kB / 0.5572 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005347/0.3747, allocations: 219.8 kB / 0.5574 GB, free: 12.79 MB / 414.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.001657/0.3764, allocations: 1.091 MB / 0.5585 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.3767, allocations: 173.1 kB / 0.5587 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003358/0.377, allocations: 197.7 kB / 0.5589 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/0.3771, allocations: 8.219 kB / 0.5589 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.3771, allocations: 1.922 kB / 0.5589 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3771, allocations: 2.844 kB / 0.5589 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/0.3806, allocations: 2.022 MB / 0.5609 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.3807, allocations: 5.016 kB / 0.5609 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.381, allocations: 56.73 kB / 0.5609 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.381, allocations: 3.406 kB / 0.5609 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.381, allocations: 8.562 kB / 0.5609 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.3811, allocations: 7.078 kB / 0.5609 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3811, allocations: 6.203 kB / 0.5609 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.3821, allocations: 1.027 MB / 0.5619 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003917/0.3825, allocations: 234.2 kB / 0.5622 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.3826, allocations: 8.656 kB / 0.5622 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005002/0.3832, allocations: 24.47 kB / 0.5622 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.3832, allocations: 30.94 kB / 0.5622 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.3833, allocations: 20.36 kB / 0.5622 GB, free: 10.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001779/0.3851, allocations: 1.371 MB / 0.5636 GB, free: 9.883 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3851, allocations: 1.75 kB / 0.5636 GB, free: 9.883 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002463/0.3875, allocations: 0.4937 MB / 0.5641 GB, free: 9.77 MB / 414.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.001088/0.3886, allocations: 1.629 MB / 0.5657 GB, free: 8.668 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002473/0.3911, allocations: 2.047 MB / 0.5677 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.3912, allocations: 3.969 kB / 0.5677 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.3915, allocations: 337.3 kB / 0.568 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.3926, allocations: 170 kB / 0.5681 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02397/0.4166, allocations: 20.43 MB / 0.5881 GB, free: 2.547 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/0.4184, allocations: 1.792 MB / 0.5898 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002475/0.4209, allocations: 1.107 MB / 0.5909 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/0.422, allocations: 0.7336 MB / 0.5916 GB, free: 14.89 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.422, allocations: 0 / 0.5916 GB, free: 14.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05592/0.478, allocations: 29.37 MB / 0.6203 GB, free: 1.512 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.22, allocations: 15.33 kB / 0.6203 GB, free: 1.5 MB / 462.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)