Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001318/0.001318, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.00145/0.00145, allocations: 206 kB / 23.72 MB, free: 4.492 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.482/1.482, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.96 MB / 360.8 MB, free: 3.879 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 83.86 kB / 0.4962 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3489, allocations: 66.09 MB / 0.5607 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01335/0.3622, allocations: 10.26 MB / 0.5707 GB, free: 9.672 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008872/0.3711, allocations: 3.863 MB / 0.5745 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.3728, allocations: 67.75 kB / 0.5746 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002908/0.3757, allocations: 1.156 MB / 0.5757 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004484/0.3802, allocations: 1.783 MB / 0.5774 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.3817, allocations: 0.5614 MB / 0.578 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005729/0.3874, allocations: 4.025 MB / 0.5819 GB, free: 14.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002876/0.3903, allocations: 1.679 MB / 0.5835 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002321/0.3926, allocations: 1.183 MB / 0.5847 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003079/0.3957, allocations: 1.787 MB / 0.5864 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008129/0.3965, allocations: 220 kB / 0.5867 GB, free: 9.285 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.3992, allocations: 1.182 MB / 0.5878 GB, free: 8.102 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002139/0.4014, allocations: 1.601 MB / 0.5894 GB, free: 6.496 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002456/0.4038, allocations: 1.315 MB / 0.5907 GB, free: 5.172 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008808/0.4126, allocations: 6.243 MB / 0.5968 GB, free: 14.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.4126, allocations: 4 kB / 0.5968 GB, free: 14.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4126, allocations: 0 / 0.5968 GB, free: 14.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002218/0.4129, allocations: 0 / 0.5968 GB, free: 14.9 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.01119/0.4241, allocations: 4.134 MB / 0.6008 GB, free: 10.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.4241, allocations: 11.97 kB / 0.6008 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001819/0.4259, allocations: 0.6876 MB / 0.6015 GB, free: 9.996 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02223/0.4482, allocations: 6.175 MB / 0.6075 GB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007734/0.4559, allocations: 2.582 MB / 0.61 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.4561, allocations: 184.5 kB / 0.6102 GB, free: 1.016 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001385/0.4575, allocations: 311.6 kB / 0.6105 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02212/0.4796, allocations: 10.72 MB / 0.621 GB, free: 5.527 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001398/0.4798, allocations: 23.75 kB / 0.621 GB, free: 5.504 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009642/0.4807, allocations: 115.8 kB / 0.6211 GB, free: 5.391 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004575/0.4853, allocations: 2.467 MB / 0.6235 GB, free: 2.922 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02252/0.5078, allocations: 10.14 MB / 0.6334 GB, free: 8.773 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06349/0.5713, allocations: 33.89 MB / 0.6665 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/0.5832, allocations: 4.462 MB / 0.6709 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003604/0.5868, allocations: 2.181 MB / 0.673 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.5882, allocations: 0.5402 MB / 0.6735 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.81e-05/0.5883, allocations: 61.14 kB / 0.6736 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=224): time 6.683e-06/0.5883, allocations: 0 / 0.6736 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=231): time 0.0404/0.6287, allocations: 14.79 MB / 0.688 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001548/0.6303, allocations: 1.514 MB / 0.6895 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005624/0.6359, allocations: 2.993 MB / 0.6924 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005371/0.6364, allocations: 53.69 kB / 0.6925 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00257/0.639, allocations: 2.788 MB / 0.6952 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001378/0.6404, allocations: 0.8874 MB / 0.6961 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002625/0.643, allocations: 1.112 MB / 0.6972 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6431, allocations: 301.1 kB / 0.6974 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004653/0.6478, allocations: 2.634 MB / 0.7 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00724/0.655, allocations: 5.631 MB / 0.7055 GB, free: 12.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01286/0.6679, allocations: 8.933 MB / 0.7142 GB, free: 1.902 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001383/0.668, allocations: 32 kB / 0.7143 GB, free: 1.871 MB / 0.545 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.08416/0.7522, allocations: 17.12 MB / 0.731 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.7523, allocations: 48 kB / 0.731 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3409/1.093, allocations: 10.61 MB / 0.7414 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04502/1.138, allocations: 8.639 MB / 0.7498 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004497/1.143, allocations: 1.302 MB / 0.7511 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02497/1.168, allocations: 17.34 MB / 0.768 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004436/1.172, allocations: 418.3 kB / 0.7684 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007217/1.173, allocations: 319.7 kB / 0.7687 GB, free: 128.6 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.002929/1.176, allocations: 2.015 MB / 0.7707 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005033/1.176, allocations: 298.3 kB / 0.771 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007056/1.183, allocations: 5.101 MB / 0.776 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006056/1.189, allocations: 4.393 MB / 0.7803 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.189, allocations: 3.281 kB / 0.7803 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/1.189, allocations: 7.969 kB / 0.7803 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01774/1.207, allocations: 12.36 MB / 0.7923 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/1.207, allocations: 12.92 kB / 0.7924 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001993/1.209, allocations: 459.2 kB / 0.7928 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002654/1.212, allocations: 0.934 MB / 0.7937 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000334/1.212, allocations: 55.8 kB / 0.7938 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00517/1.217, allocations: 5.597 MB / 0.7992 GB, free: 97.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007518/1.218, allocations: 1.45 MB / 0.8006 GB, free: 95.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009574/1.228, allocations: 7.733 MB / 0.8082 GB, free: 88.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007665/1.228, allocations: 267.3 kB / 0.8084 GB, free: 87.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003783/1.229, allocations: 41.31 kB / 0.8085 GB, free: 87.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/1.23, allocations: 191.7 kB / 0.8087 GB, free: 87.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003199/1.231, allocations: 156.5 kB / 0.8088 GB, free: 87.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/1.231, allocations: 71.95 kB / 0.8089 GB, free: 87.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002034/1.233, allocations: 1.729 MB / 0.8106 GB, free: 85.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/1.233, allocations: 0 / 0.8106 GB, free: 85.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004994/1.238, allocations: 1.081 MB / 0.8116 GB, free: 84.71 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.00985/1.248, allocations: 8.386 MB / 0.8198 GB, free: 76.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009548/1.257, allocations: 6.225 MB / 0.8259 GB, free: 70.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/1.257, allocations: 4.062 kB / 0.8259 GB, free: 70.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00329/1.26, allocations: 2.294 MB / 0.8281 GB, free: 67.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/1.263, allocations: 378.6 kB / 0.8285 GB, free: 67.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1249/1.388, allocations: 56.83 MB / 0.884 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003311/1.391, allocations: 2.618 MB / 0.8866 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004084/1.395, allocations: 2.065 MB / 0.8886 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002373/1.397, allocations: 1.66 MB / 0.8902 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of SimCode: time 1.253e-06/1.397, allocations: 0 / 0.8902 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1733/1.571, allocations: 71.33 MB / 0.9598 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.37/17.94, allocations: 7.5 kB / 0.9599 GB, free: 8.582 MB / 0.6387 GB " [Timeout remaining time 642] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Spherical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.8799210623838] 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]'] 18.09884499805048 18.114367401 17.69832404 Calling exit ...