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.00133/0.00133, allocations: 106.2 kB / 16.41 MB, free: 6.508 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.001399/0.001399, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.261/1.261, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.1966/0.1966, allocations: 43.53 MB / 314.1 MB, free: 444 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.001628/0.001628, allocations: 85.59 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09841/0.1, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.006672/0.1068, allocations: 5.722 MB / 0.493 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003475/0.1103, allocations: 1.831 MB / 0.4948 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006523/0.111, allocations: 23.94 kB / 0.4948 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.1122, allocations: 0.4979 MB / 0.4953 GB, free: 4.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.1138, allocations: 0.6886 MB / 0.4959 GB, free: 3.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.1139, allocations: 12 kB / 0.496 GB, free: 3.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.1157, allocations: 1.448 MB / 0.4974 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.1167, allocations: 0.719 MB / 0.4981 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007073/0.1174, allocations: 490 kB / 0.4985 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009677/0.1184, allocations: 0.681 MB / 0.4992 GB, free: 132 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002889/0.1187, allocations: 84 kB / 0.4993 GB, free: 48 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006881/0.1194, allocations: 307.5 kB / 0.4996 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006421/0.1201, allocations: 0.6699 MB / 0.5002 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.1211, allocations: 0.8342 MB / 0.501 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003029/0.1241, allocations: 2.673 MB / 0.5037 GB, free: 11.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.1242, allocations: 4 kB / 0.5037 GB, free: 11.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1242, allocations: 0 / 0.5037 GB, free: 11.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.98e-05/0.1243, allocations: 0 / 0.5037 GB, free: 11.55 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.004113/0.1284, allocations: 1.963 MB / 0.5056 GB, free: 9.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.1285, allocations: 15.89 kB / 0.5056 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005983/0.1291, allocations: 352.1 kB / 0.5059 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00486/0.1339, allocations: 1.461 MB / 0.5074 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.1357, allocations: 0.8629 MB / 0.5082 GB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.004e-05/0.1358, allocations: 78.05 kB / 0.5083 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003595/0.1362, allocations: 95.91 kB / 0.5084 GB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006662/0.1429, allocations: 4.63 MB / 0.5129 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.957e-05/0.143, allocations: 19.81 kB / 0.5129 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002267/0.1432, allocations: 51.92 kB / 0.513 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001761/0.145, allocations: 1.107 MB / 0.514 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006621/0.1516, allocations: 4 MB / 0.5179 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1952/0.3468, allocations: 18.42 MB / 0.5359 GB, free: 25.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.348, allocations: 1.178 MB / 0.5371 GB, free: 24.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003933/0.3484, allocations: 347 kB / 0.5374 GB, free: 24.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.3484, allocations: 5.594 kB / 0.5374 GB, free: 24.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.3485, allocations: 40.09 kB / 0.5375 GB, free: 24.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=60): time 2.926e-06/0.3485, allocations: 0 / 0.5375 GB, free: 24.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=60): time 0.001496/0.35, allocations: 1.027 MB / 0.5385 GB, free: 24.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.35, allocations: 114.2 kB / 0.5386 GB, free: 24.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002778/0.3528, allocations: 2.199 MB / 0.5407 GB, free: 23.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.534e-05/0.3529, allocations: 31.58 kB / 0.5407 GB, free: 23.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007396/0.3536, allocations: 1.624 MB / 0.5423 GB, free: 22.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.3538, allocations: 264.4 kB / 0.5426 GB, free: 22.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006821/0.3545, allocations: 0.6713 MB / 0.5432 GB, free: 22.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.89e-05/0.3546, allocations: 355.9 kB / 0.5436 GB, free: 22.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.3558, allocations: 0.8947 MB / 0.5444 GB, free: 22.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.3577, allocations: 3.169 MB / 0.5475 GB, free: 18.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003745/0.3614, allocations: 4.456 MB / 0.5519 GB, free: 14.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.361e-05/0.3615, allocations: 23.62 kB / 0.5519 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005929/0.3675, allocations: 3.84 MB / 0.5557 GB, free: 13.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.347e-05/0.3676, allocations: 43.73 kB / 0.5557 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/0.3677, allocations: 81.28 kB / 0.5558 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.3678, allocations: 110.1 kB / 0.5559 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/0.3699, allocations: 0.7487 MB / 0.5566 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000127/0.37, allocations: 159.4 kB / 0.5568 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.372, allocations: 495.7 kB / 0.5572 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002544/0.3723, allocations: 212.2 kB / 0.5574 GB, free: 12.86 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.001264/0.3736, allocations: 1.101 MB / 0.5585 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.3738, allocations: 167.5 kB / 0.5587 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.3741, allocations: 202.6 kB / 0.5589 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.3741, allocations: 7.594 kB / 0.5589 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.3741, allocations: 1.984 kB / 0.5589 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3741, allocations: 3.141 kB / 0.5589 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/0.3769, allocations: 2.018 MB / 0.5609 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3769, allocations: 0 / 0.5609 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.3772, allocations: 64.72 kB / 0.5609 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3772, allocations: 2 kB / 0.5609 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.3772, allocations: 11.83 kB / 0.5609 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.3772, allocations: 1.812 kB / 0.5609 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3772, allocations: 5.688 kB / 0.5609 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008203/0.3781, allocations: 1.03 MB / 0.5619 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.3783, allocations: 233.2 kB / 0.5622 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.3784, allocations: 9.688 kB / 0.5622 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/0.3789, allocations: 24.42 kB / 0.5622 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.379, allocations: 27.25 kB / 0.5622 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.379, allocations: 19.08 kB / 0.5622 GB, free: 10.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001401/0.3804, allocations: 1.37 MB / 0.5636 GB, free: 9.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3804, allocations: 3.969 kB / 0.5636 GB, free: 9.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002091/0.3825, allocations: 499.9 kB / 0.5641 GB, free: 9.836 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.001015/0.3835, allocations: 1.634 MB / 0.5657 GB, free: 8.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002233/0.3858, allocations: 2.054 MB / 0.5677 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3858, allocations: 0 / 0.5677 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002788/0.3861, allocations: 329.4 kB / 0.568 GB, free: 7.969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009046/0.387, allocations: 171.7 kB / 0.5681 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02058/0.4076, allocations: 20.43 MB / 0.5881 GB, free: 2.559 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/0.409, allocations: 1.79 MB / 0.5898 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002052/0.4111, allocations: 1.108 MB / 0.5909 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008086/0.4119, allocations: 0.7335 MB / 0.5916 GB, free: 14.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4119, allocations: 0 / 0.5916 GB, free: 14.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05352/0.4655, allocations: 29.38 MB / 0.6203 GB, free: 1.512 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.37, allocations: 3.938 kB / 0.6203 GB, free: 1.508 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)