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.001701/0.001701, allocations: 118.9 kB / 17.83 MB, free: 5.203 MB / 14.72 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.002052/0.002052, allocations: 210.3 kB / 20.8 MB, free: 2.258 MB / 14.72 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 1.503/1.503, allocations: 207.6 MB / 231.2 MB, free: 4.145 MB / 174.1 MB " [Timeout remaining time 178] 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.3521/0.3521, allocations: 44.24 MB / 327.3 MB, free: 6.676 MB / 254.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 75.89 kB / 462.9 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2604, allocations: 61 MB / 0.5116 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.005248/0.2657, allocations: 5.747 MB / 0.5172 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.2687, allocations: 1.85 MB / 0.519 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005687/0.2693, allocations: 23.94 kB / 0.5191 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.2704, allocations: 0.5199 MB / 0.5196 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.2717, allocations: 0.6808 MB / 0.5202 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001226/0.2718, allocations: 12 kB / 0.5202 GB, free: 6.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.2732, allocations: 1.456 MB / 0.5217 GB, free: 4.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000679/0.2739, allocations: 0.6331 MB / 0.5223 GB, free: 4.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005148/0.2744, allocations: 0.4902 MB / 0.5228 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007086/0.2751, allocations: 0.7628 MB / 0.5235 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.2753, allocations: 88 kB / 0.5236 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005255/0.2758, allocations: 311.5 kB / 0.5239 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000443/0.2763, allocations: 0.6891 MB / 0.5246 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005548/0.2768, allocations: 0.8264 MB / 0.5254 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00282/0.2796, allocations: 2.686 MB / 0.528 GB, free: 14.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.2796, allocations: 3.984 kB / 0.528 GB, free: 14.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2796, allocations: 4 kB / 0.528 GB, free: 14.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.598e-05/0.2797, allocations: 4 kB / 0.528 GB, free: 14.12 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.003496/0.2832, allocations: 2.022 MB / 0.53 GB, free: 12.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.2833, allocations: 15.89 kB / 0.53 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.835e-05/0.2833, allocations: 38.19 kB / 0.53 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004478/0.2838, allocations: 348.1 kB / 0.5304 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005149/0.2889, allocations: 1.478 MB / 0.5318 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.2907, allocations: 0.8515 MB / 0.5326 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.182e-05/0.2908, allocations: 85.86 kB / 0.5327 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000284/0.2911, allocations: 99.91 kB / 0.5328 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006664/0.2978, allocations: 4.622 MB / 0.5373 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/0.2978, allocations: 19.81 kB / 0.5373 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/0.298, allocations: 55.92 kB / 0.5374 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001916/0.2999, allocations: 1.103 MB / 0.5385 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007135/0.307, allocations: 4.007 MB / 0.5424 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0228/0.3298, allocations: 18.46 MB / 0.5604 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.3314, allocations: 1.136 MB / 0.5615 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000504/0.3319, allocations: 322.2 kB / 0.5618 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.3319, allocations: 4 kB / 0.5618 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.332, allocations: 42.56 kB / 0.5619 GB, free: 10.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=60): time 3.035e-06/0.332, allocations: 3.938 kB / 0.5619 GB, free: 10.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=60): time 0.001835/0.3338, allocations: 1.033 MB / 0.5629 GB, free: 9.074 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/0.3339, allocations: 114.7 kB / 0.563 GB, free: 8.938 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003679/0.3376, allocations: 2.197 MB / 0.5651 GB, free: 6.695 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.406e-05/0.3376, allocations: 33.69 kB / 0.5652 GB, free: 6.656 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001538/0.3392, allocations: 1.695 MB / 0.5668 GB, free: 4.941 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003977/0.3396, allocations: 286 kB / 0.5671 GB, free: 4.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009958/0.3406, allocations: 0.6792 MB / 0.5678 GB, free: 3.973 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002296/0.3408, allocations: 361.9 kB / 0.5681 GB, free: 3.613 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.3423, allocations: 0.8965 MB / 0.569 GB, free: 2.715 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003747/0.346, allocations: 3.166 MB / 0.5721 GB, free: 14.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005555/0.3516, allocations: 4.437 MB / 0.5764 GB, free: 8.828 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.158e-05/0.3516, allocations: 24 kB / 0.5764 GB, free: 8.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007268/0.3589, allocations: 3.853 MB / 0.5802 GB, free: 4.945 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.975e-05/0.359, allocations: 40 kB / 0.5802 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001085/0.3591, allocations: 80.09 kB / 0.5803 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001274/0.3592, allocations: 108 kB / 0.5804 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/0.3614, allocations: 0.7563 MB / 0.5812 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001439/0.3616, allocations: 159.4 kB / 0.5813 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.364, allocations: 0.4885 MB / 0.5818 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003919/0.3644, allocations: 220 kB / 0.582 GB, free: 3.102 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.001608/0.366, allocations: 1.093 MB / 0.5831 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/0.3663, allocations: 178.8 kB / 0.5832 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003695/0.3667, allocations: 200 kB / 0.5834 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.3667, allocations: 7.984 kB / 0.5834 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3667, allocations: 4 kB / 0.5834 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.3667, allocations: 3.984 kB / 0.5834 GB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003479/0.3702, allocations: 2.019 MB / 0.5854 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3702, allocations: 4 kB / 0.5854 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.3705, allocations: 55.97 kB / 0.5855 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.3705, allocations: 4 kB / 0.5855 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.3705, allocations: 19.86 kB / 0.5855 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.3705, allocations: 4 kB / 0.5855 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3705, allocations: 4 kB / 0.5855 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.3718, allocations: 1.041 MB / 0.5865 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004101/0.3722, allocations: 235.8 kB / 0.5867 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.3724, allocations: 15.92 kB / 0.5868 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005218/0.3729, allocations: 23.97 kB / 0.5868 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.373, allocations: 27.81 kB / 0.5868 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/0.373, allocations: 20 kB / 0.5868 GB, free: 14.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002228/0.3753, allocations: 1.367 MB / 0.5882 GB, free: 12.64 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3753, allocations: 0 / 0.5882 GB, free: 12.64 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002607/0.3779, allocations: 0.499 MB / 0.5887 GB, free: 12.14 MB / 462.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.001833/0.3797, allocations: 1.649 MB / 0.5903 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003371/0.3831, allocations: 1.968 MB / 0.5922 GB, free: 8.516 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.3831, allocations: 0 / 0.5922 GB, free: 8.516 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004309/0.3835, allocations: 307.7 kB / 0.5925 GB, free: 8.215 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.3847, allocations: 159.8 kB / 0.5926 GB, free: 8.055 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03139/0.4161, allocations: 20.39 MB / 0.6125 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002015/0.4181, allocations: 1.79 MB / 0.6143 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00254/0.4206, allocations: 1.117 MB / 0.6154 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/0.4218, allocations: 0.7219 MB / 0.6161 GB, free: 13.08 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4218, allocations: 0 / 0.6161 GB, free: 13.08 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2884/0.7102, allocations: 29.2 MB / 0.6446 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.87, allocations: 10.47 kB / 0.6446 GB, free: 128.1 MB / 0.4981 GB " [Timeout remaining time 646] (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: 16.724497056973632] Failed to read output from testmodel.py, exit status != 0: 14.023183476994745 14.048548431 13.764570362 Calling exit ...