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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000904/0.000904, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8553/0.8553, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1277/0.1277, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 3.938 kB / 406.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.294e-05, allocations: 9.938 kB / 406.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.003906/0.003919, allocations: 5.122 MB / 411.9 MB, free: 13.11 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.006249, allocations: 1.745 MB / 413.7 MB, free: 11.36 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.006553, allocations: 23.94 kB / 413.7 MB, free: 11.34 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007993/0.007352, allocations: 0.5173 MB / 414.2 MB, free: 10.82 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008953/0.008247, allocations: 0.7153 MB / 414.9 MB, free: 10.1 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.349e-05/0.008321, allocations: 15.97 kB / 415 MB, free: 10.08 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.009352, allocations: 1.479 MB / 416.4 MB, free: 8.598 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005952/0.009947, allocations: 0.7144 MB / 417.2 MB, free: 7.871 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006072/0.01055, allocations: 0.7246 MB / 417.9 MB, free: 7.145 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007375/0.01129, allocations: 0.7168 MB / 418.6 MB, free: 6.426 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.01143, allocations: 88 kB / 418.7 MB, free: 6.34 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000354/0.01178, allocations: 263.6 kB / 418.9 MB, free: 6.082 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003614/0.01214, allocations: 0.701 MB / 419.6 MB, free: 5.379 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.01241, allocations: 426.2 kB / 420.1 MB, free: 4.961 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.01389, allocations: 2.584 MB / 422.6 MB, free: 2.367 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.01389, allocations: 0 / 422.6 MB, free: 2.367 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01389, allocations: 0 / 422.6 MB, free: 2.367 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.01392, allocations: 0 / 422.6 MB, free: 2.367 MB / 394.7 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.001614/0.01553, allocations: 1.939 MB / 424.6 MB, free: 396 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.01556, allocations: 8.031 kB / 424.6 MB, free: 388 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002345/0.0158, allocations: 348.1 kB / 424.9 MB, free: 32 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002405/0.0182, allocations: 1.496 MB / 426.4 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008368/0.01904, allocations: 0.8059 MB / 427.2 MB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.01908, allocations: 82.22 kB / 427.3 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.0192, allocations: 100.3 kB / 427.4 MB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/0.02233, allocations: 4.627 MB / 432 MB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.02236, allocations: 23.8 kB / 432.1 MB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.807e-05/0.02246, allocations: 51.92 kB / 432.1 MB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009278/0.02339, allocations: 1.111 MB / 433.2 MB, free: 7.301 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003501/0.02689, allocations: 3.999 MB / 437.2 MB, free: 3.297 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009668/0.03655, allocations: 17.75 MB / 455 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009178/0.03747, allocations: 0.6836 MB / 455.7 MB, free: 184 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.03777, allocations: 314.4 kB / 456 MB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.03779, allocations: 4 kB / 456 MB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.03781, allocations: 34.56 kB / 456 MB, free: 15.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 3.427e-06/0.03781, allocations: 4 kB / 456 MB, free: 15.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.00116/0.03897, allocations: 1.043 MB / 457 MB, free: 14.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.03902, allocations: 110.8 kB / 457.2 MB, free: 14.63 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.04112, allocations: 2.344 MB / 459.5 MB, free: 12.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.04114, allocations: 29.7 kB / 459.5 MB, free: 12.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008015/0.04195, allocations: 1.672 MB / 461.2 MB, free: 10.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.04213, allocations: 278.1 kB / 461.5 MB, free: 10.24 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000622/0.04275, allocations: 0.6634 MB / 462.1 MB, free: 9.566 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.04287, allocations: 353.9 kB / 462.5 MB, free: 9.215 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008563/0.04373, allocations: 0.8965 MB / 463.4 MB, free: 8.316 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.04555, allocations: 3.166 MB / 466.5 MB, free: 4.004 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1644/0.21, allocations: 4.447 MB / 471 MB, free: 94.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.541e-05/0.21, allocations: 24.78 kB / 471 MB, free: 94.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.003747/0.2138, allocations: 3.84 MB / 474.9 MB, free: 93.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.2138, allocations: 38.78 kB / 474.9 MB, free: 93.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.191e-05/0.2139, allocations: 82.72 kB / 475 MB, free: 93.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.725e-05/0.2139, allocations: 114.5 kB / 475.1 MB, free: 93.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.215, allocations: 0.7493 MB / 475.8 MB, free: 93.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.984e-05/0.215, allocations: 159 kB / 476 MB, free: 93.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.2163, allocations: 0.4955 MB / 476.5 MB, free: 93.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.2165, allocations: 215.5 kB / 476.7 MB, free: 93.26 MB / 442.7 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.0008455/0.2173, allocations: 1.099 MB / 477.8 MB, free: 92.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.2175, allocations: 173.9 kB / 478 MB, free: 92.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.2176, allocations: 204.3 kB / 478.2 MB, free: 92.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.2176, allocations: 15.88 kB / 478.2 MB, free: 92.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2176, allocations: 0 / 478.2 MB, free: 92.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2176, allocations: 3.094 kB / 478.2 MB, free: 92.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.2195, allocations: 1.922 MB / 480.1 MB, free: 91.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2195, allocations: 2.844 kB / 480.1 MB, free: 91.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.2196, allocations: 60.47 kB / 480.2 MB, free: 91.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.2197, allocations: 1.312 kB / 480.2 MB, free: 91.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.2197, allocations: 17.77 kB / 480.2 MB, free: 91.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.2197, allocations: 0 / 480.2 MB, free: 91.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2197, allocations: 2.969 kB / 480.2 MB, free: 91.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.2202, allocations: 1.041 MB / 481.2 MB, free: 91.24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.2204, allocations: 164.6 kB / 481.4 MB, free: 91.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/0.2205, allocations: 12.03 kB / 481.4 MB, free: 91.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.2207, allocations: 23.52 kB / 481.4 MB, free: 91.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.2208, allocations: 30.17 kB / 481.5 MB, free: 91.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.2208, allocations: 12.19 kB / 481.5 MB, free: 91.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009629/0.2217, allocations: 1.375 MB / 482.8 MB, free: 90.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.2217, allocations: 0 / 482.8 MB, free: 90.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001454/0.2232, allocations: 0.4909 MB / 483.3 MB, free: 90.52 MB / 442.7 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.0008434/0.224, allocations: 1.65 MB / 485 MB, free: 89.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.2257, allocations: 1.969 MB / 486.9 MB, free: 88.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2257, allocations: 3.25 kB / 487 MB, free: 88.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.2259, allocations: 306.2 kB / 487.3 MB, free: 88.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006164/0.2265, allocations: 173.3 kB / 487.4 MB, free: 88.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/0.2423, allocations: 20.22 MB / 0.4957 GB, free: 74.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009406/0.2432, allocations: 1.206 MB / 0.4969 GB, free: 74.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0014/0.2446, allocations: 1.108 MB / 0.498 GB, free: 74.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/0.2451, allocations: 0.7321 MB / 0.4987 GB, free: 73.73 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2451, allocations: 0 / 0.4987 GB, free: 73.73 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.2763, allocations: 28.97 MB / 0.527 GB, free: 53.95 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.245/7.521, allocations: 11.8 kB / 0.527 GB, free: 53.93 MB / 442.7 MB " [Timeout remaining time 652] (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 --stepSize=0.000404 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.379554025828838] Failed to read output from testmodel.py, exit status != 0: 7.616836249828339 7.622990377 7.607842329 Calling exit ...