Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.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.001631/0.001631, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001741/0.001741, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.536/1.536, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2466/0.2466, allocations: 46.93 MB / 361.6 MB, free: 4.199 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.Joints.Spherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical",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.002757/0.002757, allocations: 79.86 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3597, allocations: 66.09 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01483/0.3746, allocations: 11.82 MB / 0.5731 GB, free: 8.445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009083/0.3837, allocations: 4.112 MB / 0.5771 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/0.3855, allocations: 67.75 kB / 0.5771 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002837/0.3884, allocations: 1.202 MB / 0.5783 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004848/0.3932, allocations: 1.775 MB / 0.58 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.3948, allocations: 0.5574 MB / 0.5806 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006245/0.401, allocations: 4.043 MB / 0.5845 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002565/0.4036, allocations: 1.679 MB / 0.5862 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/0.4055, allocations: 1.172 MB / 0.5873 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002743/0.4083, allocations: 1.857 MB / 0.5891 GB, free: 7.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005279/0.4088, allocations: 220 kB / 0.5893 GB, free: 7.695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.4113, allocations: 1.33 MB / 0.5906 GB, free: 6.363 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001792/0.413, allocations: 1.612 MB / 0.5922 GB, free: 4.746 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002113/0.4152, allocations: 1.836 MB / 0.594 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008114/0.4233, allocations: 6.22 MB / 0.6001 GB, free: 12.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.4233, allocations: 0 / 0.6001 GB, free: 12.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4233, allocations: 3.938 kB / 0.6001 GB, free: 12.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001795/0.4235, allocations: 0 / 0.6001 GB, free: 12.65 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.008534/0.432, allocations: 4.134 MB / 0.6041 GB, free: 8.457 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.432, allocations: 8.031 kB / 0.6041 GB, free: 8.449 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001058/0.4331, allocations: 0.6837 MB / 0.6048 GB, free: 7.754 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01919/0.4523, allocations: 6.187 MB / 0.6108 GB, free: 1.555 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006632/0.4589, allocations: 2.567 MB / 0.6134 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.4591, allocations: 184.5 kB / 0.6135 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.4603, allocations: 307.6 kB / 0.6138 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01887/0.4791, allocations: 10.72 MB / 0.6243 GB, free: 3.289 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.254e-05/0.4792, allocations: 23.81 kB / 0.6243 GB, free: 3.266 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004306/0.4796, allocations: 111.8 kB / 0.6244 GB, free: 3.156 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004038/0.4837, allocations: 2.467 MB / 0.6268 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02198/0.5057, allocations: 10.16 MB / 0.6367 GB, free: 6.52 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0616/0.5673, allocations: 35.44 MB / 0.6714 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/0.5794, allocations: 4.48 MB / 0.6757 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003866/0.5833, allocations: 2.185 MB / 0.6779 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/0.5846, allocations: 0.5517 MB / 0.6784 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/0.5847, allocations: 56.55 kB / 0.6785 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=224): time 4.989e-06/0.5847, allocations: 0 / 0.6785 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=231): time 0.04098/0.6257, allocations: 14.8 MB / 0.6929 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001626/0.6273, allocations: 1.503 MB / 0.6944 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004856/0.6321, allocations: 2.808 MB / 0.6971 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006543/0.6328, allocations: 57.64 kB / 0.6972 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002686/0.6355, allocations: 2.791 MB / 0.6999 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001558/0.637, allocations: 0.8836 MB / 0.7008 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002158/0.6392, allocations: 1.112 MB / 0.7018 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.6393, allocations: 309.1 kB / 0.7021 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004858/0.6442, allocations: 2.626 MB / 0.7047 GB, free: 15.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008154/0.6524, allocations: 5.635 MB / 0.7102 GB, free: 8.672 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01326/0.6656, allocations: 8.937 MB / 0.7189 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/0.6657, allocations: 28 kB / 0.719 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.3472/1.013, allocations: 17.12 MB / 0.7357 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.307e-05/1.013, allocations: 53.75 kB / 0.7357 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03751/1.051, allocations: 10.61 MB / 0.7461 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03941/1.09, allocations: 8.638 MB / 0.7545 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004074/1.094, allocations: 1.301 MB / 0.7558 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02375/1.118, allocations: 17.6 MB / 0.773 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003767/1.122, allocations: 427.4 kB / 0.7734 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006148/1.122, allocations: 320 kB / 0.7737 GB, free: 124.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (653): * Single equations (assignments): 642 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.003327/1.125, allocations: 2.021 MB / 0.7757 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005159/1.126, allocations: 290.2 kB / 0.7759 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007488/1.133, allocations: 5.098 MB / 0.7809 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006498/1.14, allocations: 4.4 MB / 0.7852 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/1.14, allocations: 0 / 0.7852 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/1.14, allocations: 11.95 kB / 0.7852 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/1.157, allocations: 12.75 MB / 0.7977 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/1.157, allocations: 8 kB / 0.7977 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/1.159, allocations: 460.4 kB / 0.7981 GB, free: 99.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002503/1.162, allocations: 0.9391 MB / 0.799 GB, free: 99.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002458/1.162, allocations: 51.75 kB / 0.7991 GB, free: 99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005041/1.167, allocations: 5.625 MB / 0.8046 GB, free: 93.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007168/1.168, allocations: 1.448 MB / 0.806 GB, free: 91.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009224/1.177, allocations: 7.741 MB / 0.8136 GB, free: 83.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000621/1.177, allocations: 264.9 kB / 0.8138 GB, free: 83.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/1.178, allocations: 47.98 kB / 0.8139 GB, free: 83.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/1.179, allocations: 191.7 kB / 0.814 GB, free: 83.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/1.179, allocations: 156.6 kB / 0.8142 GB, free: 83.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/1.18, allocations: 64.3 kB / 0.8143 GB, free: 83.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002/1.182, allocations: 1.726 MB / 0.8159 GB, free: 81.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.182, allocations: 6.297 kB / 0.8159 GB, free: 81.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003977/1.186, allocations: 1.086 MB / 0.817 GB, free: 80.52 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009523/1.195, allocations: 8.393 MB / 0.8252 GB, free: 72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008896/1.204, allocations: 6.209 MB / 0.8313 GB, free: 65.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.204, allocations: 1.938 kB / 0.8313 GB, free: 65.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002934/1.207, allocations: 2.296 MB / 0.8335 GB, free: 63.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/1.209, allocations: 385 kB / 0.8339 GB, free: 63.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1158/1.325, allocations: 56.83 MB / 0.8894 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003493/1.328, allocations: 3.163 MB / 0.8925 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004523/1.333, allocations: 2.056 MB / 0.8945 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002745/1.335, allocations: 1.655 MB / 0.8961 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of SimCode: time 1.804e-06/1.335, allocations: 4 kB / 0.8961 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1462/1.482, allocations: 76.15 MB / 0.9705 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.2/21.68, allocations: 4.062 kB / 0.9705 GB, free: 14.72 MB / 0.6544 GB " [Timeout remaining time 638] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.024488541763276] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.Q[1]', 'body.Q[2]', 'body.Q[3]', 'body.Q[4]', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]'] 21.82193760201335 22.09298537 21.421894825 Calling exit ...