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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001647/0.001647, allocations: 121.2 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001875/0.001875, allocations: 206.6 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.552/1.552, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2712/0.2712, allocations: 46.92 MB / 357.7 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002461/0.002461, allocations: 84.05 kB / 0.4916 GB, free: 7.785 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1392, allocations: 66.04 MB / 0.5561 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.007997/0.1472, allocations: 5.736 MB / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00387/0.1511, allocations: 1.85 MB / 0.5635 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005637/0.1517, allocations: 23.94 kB / 0.5636 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.1531, allocations: 0.5407 MB / 0.5641 GB, free: 13.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.1548, allocations: 0.6847 MB / 0.5648 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.155, allocations: 12 kB / 0.5648 GB, free: 12.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00199/0.157, allocations: 1.424 MB / 0.5662 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009613/0.1579, allocations: 0.6368 MB / 0.5668 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000755/0.1587, allocations: 490 kB / 0.5673 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.1598, allocations: 0.7628 MB / 0.568 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000274/0.1601, allocations: 88 kB / 0.5681 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007394/0.1608, allocations: 323.5 kB / 0.5684 GB, free: 9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007526/0.1616, allocations: 0.6697 MB / 0.569 GB, free: 8.328 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009537/0.1625, allocations: 0.8263 MB / 0.5699 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003391/0.1659, allocations: 2.652 MB / 0.5724 GB, free: 4.832 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1659, allocations: 4 kB / 0.5724 GB, free: 4.828 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1659, allocations: 0 / 0.5724 GB, free: 4.828 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.966e-05/0.166, allocations: 0 / 0.5724 GB, free: 4.828 MB / 430.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.003648/0.1696, allocations: 2.014 MB / 0.5744 GB, free: 2.754 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.1697, allocations: 8.031 kB / 0.5744 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004915/0.1702, allocations: 348 kB / 0.5748 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005482/0.1756, allocations: 1.485 MB / 0.5762 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.1775, allocations: 0.8476 MB / 0.577 GB, free: 24 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.1776, allocations: 82.05 kB / 0.5771 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/0.1779, allocations: 99.91 kB / 0.5772 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007199/0.1851, allocations: 4.626 MB / 0.5817 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.858e-05/0.1851, allocations: 23.8 kB / 0.5817 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002107/0.1853, allocations: 55.92 kB / 0.5818 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002182/0.1875, allocations: 1.103 MB / 0.5829 GB, free: 9.629 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007722/0.1952, allocations: 4.008 MB / 0.5868 GB, free: 5.625 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3009/0.4961, allocations: 18.45 MB / 0.6048 GB, free: 19.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.4976, allocations: 1.137 MB / 0.6059 GB, free: 18.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004716/0.498, allocations: 311.9 kB / 0.6062 GB, free: 18.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.498, allocations: 9.719 kB / 0.6062 GB, free: 18.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.4981, allocations: 40.45 kB / 0.6063 GB, free: 18.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 3.146e-06/0.4981, allocations: 0.6875 kB / 0.6063 GB, free: 18.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001865/0.4999, allocations: 1.038 MB / 0.6073 GB, free: 18.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.5, allocations: 107.9 kB / 0.6074 GB, free: 18.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004375/0.5044, allocations: 2.204 MB / 0.6095 GB, free: 17.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.749e-05/0.5045, allocations: 31.95 kB / 0.6096 GB, free: 17.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00129/0.5058, allocations: 1.694 MB / 0.6112 GB, free: 16.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003793/0.5061, allocations: 278.5 kB / 0.6115 GB, free: 16.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/0.5072, allocations: 0.6813 MB / 0.6121 GB, free: 16.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.5073, allocations: 358.5 kB / 0.6125 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.5087, allocations: 0.894 MB / 0.6134 GB, free: 15.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002893/0.5116, allocations: 3.174 MB / 0.6165 GB, free: 12.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004429/0.5161, allocations: 4.439 MB / 0.6208 GB, free: 7.914 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001178/0.5162, allocations: 24.22 kB / 0.6208 GB, free: 7.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007705/0.5239, allocations: 3.846 MB / 0.6246 GB, free: 6.418 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.131e-05/0.524, allocations: 40.83 kB / 0.6246 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001337/0.5241, allocations: 85.25 kB / 0.6247 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001594/0.5243, allocations: 106.2 kB / 0.6248 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002517/0.5268, allocations: 0.7523 MB / 0.6255 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001632/0.5269, allocations: 159.4 kB / 0.6257 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/0.5302, allocations: 0.4935 MB / 0.6262 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000738/0.5309, allocations: 217.5 kB / 0.6264 GB, free: 5.938 MB / 446.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.002456/0.5334, allocations: 1.098 MB / 0.6274 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004505/0.5338, allocations: 180.6 kB / 0.6276 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.5344, allocations: 199.4 kB / 0.6278 GB, free: 5.191 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.937e-05/0.5344, allocations: 7.25 kB / 0.6278 GB, free: 5.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.5344, allocations: 2.719 kB / 0.6278 GB, free: 5.191 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.5344, allocations: 2.969 kB / 0.6278 GB, free: 5.191 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00406/0.5385, allocations: 2.013 MB / 0.6298 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.5385, allocations: 0 / 0.6298 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.5388, allocations: 64.47 kB / 0.6298 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.5388, allocations: 8.641 kB / 0.6299 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.5388, allocations: 12.03 kB / 0.6299 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.5388, allocations: 1.875 kB / 0.6299 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5388, allocations: 0 / 0.6299 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.54, allocations: 1.041 MB / 0.6309 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004379/0.5405, allocations: 243 kB / 0.6311 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.5406, allocations: 15.83 kB / 0.6311 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006581/0.5413, allocations: 27.3 kB / 0.6312 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.5414, allocations: 20.64 kB / 0.6312 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/0.5414, allocations: 19.12 kB / 0.6312 GB, free: 3.512 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002129/0.5435, allocations: 1.372 MB / 0.6325 GB, free: 3.008 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5435, allocations: 0 / 0.6325 GB, free: 3.008 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003114/0.5466, allocations: 493.8 kB / 0.633 GB, free: 2.891 MB / 446.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.001537/0.5482, allocations: 1.648 MB / 0.6346 GB, free: 1.777 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00297/0.5512, allocations: 1.984 MB / 0.6366 GB, free: 1.125 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.5512, allocations: 0 / 0.6366 GB, free: 1.125 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.5515, allocations: 311 kB / 0.6368 GB, free: 1.035 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.5529, allocations: 162.5 kB / 0.637 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03526/0.5881, allocations: 20.37 MB / 0.6569 GB, free: 10.49 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002374/0.5905, allocations: 1.791 MB / 0.6586 GB, free: 8.672 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002749/0.5933, allocations: 1.115 MB / 0.6597 GB, free: 7.555 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/0.5948, allocations: 0.7297 MB / 0.6604 GB, free: 6.824 MB / 478.1 MB Notification: Performance of SimCode: time 1.844e-06/0.5948, allocations: 4 kB / 0.6605 GB, free: 6.82 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07049/0.6653, allocations: 29.15 MB / 0.6889 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.42, allocations: 7.922 kB / 0.6889 GB, free: 9.84 MB / 0.4981 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.703139488585293] Failed to read output from testmodel.py, exit status != 0: ['time', 'voluminousWheel.n_rTire', 'voluminousWheel.n_rCurvature', 'voluminousWheel.rw', 'voluminousWheel.rCurvature2', 'voluminousWheel.kw', 'voluminousWheel.h', 'voluminousWheel.ri', 'voluminousWheel.rRim2'] 13.514691916760057 13.532666746 13.363058921 Calling exit ...