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.00153/0.00153, allocations: 108.3 kB / 20.48 MB, free: 0.9805 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.001722/0.001722, allocations: 218.5 kB / 23.78 MB, free: 4.215 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.539/1.539, allocations: 230.5 MB / 257.5 MB, free: 7.73 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.2382/0.2382, allocations: 46.96 MB / 360.9 MB, free: 3.875 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.00245/0.00245, allocations: 83.88 kB / 0.4963 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.332, allocations: 66.08 MB / 0.5608 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01275/0.3447, allocations: 10.26 MB / 0.5708 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008827/0.3536, allocations: 3.863 MB / 0.5746 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.3552, allocations: 67.75 kB / 0.5746 GB, free: 5.715 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002649/0.3579, allocations: 1.164 MB / 0.5758 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004574/0.3625, allocations: 1.779 MB / 0.5775 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.3639, allocations: 0.5613 MB / 0.5781 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005649/0.3696, allocations: 4.028 MB / 0.582 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002356/0.3719, allocations: 1.679 MB / 0.5836 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.3738, allocations: 1.179 MB / 0.5848 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/0.3764, allocations: 1.795 MB / 0.5865 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005252/0.377, allocations: 219.9 kB / 0.5867 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.3792, allocations: 1.182 MB / 0.5879 GB, free: 8.074 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001709/0.3809, allocations: 1.608 MB / 0.5895 GB, free: 6.461 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001761/0.3826, allocations: 1.307 MB / 0.5908 GB, free: 5.145 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008027/0.3907, allocations: 6.24 MB / 0.5968 GB, free: 14.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3907, allocations: 7.938 kB / 0.5969 GB, free: 14.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3907, allocations: 0 / 0.5969 GB, free: 14.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001632/0.3908, allocations: 0 / 0.5969 GB, free: 14.87 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.008948/0.3998, allocations: 4.146 MB / 0.6009 GB, free: 10.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.3998, allocations: 8.031 kB / 0.6009 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001464/0.4013, allocations: 0.6837 MB / 0.6016 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02136/0.4226, allocations: 6.241 MB / 0.6077 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006453/0.4291, allocations: 2.594 MB / 0.6102 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.4293, allocations: 180.5 kB / 0.6104 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/0.4303, allocations: 311.6 kB / 0.6107 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01968/0.45, allocations: 10.72 MB / 0.6211 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.372e-05/0.4501, allocations: 27.81 kB / 0.6212 GB, free: 5.387 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004715/0.4506, allocations: 115.8 kB / 0.6213 GB, free: 5.273 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004264/0.4548, allocations: 2.467 MB / 0.6237 GB, free: 2.805 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02121/0.476, allocations: 10.17 MB / 0.6336 GB, free: 8.625 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0555/0.5315, allocations: 34.07 MB / 0.6669 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/0.5435, allocations: 4.59 MB / 0.6714 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003425/0.547, allocations: 2.185 MB / 0.6735 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/0.5483, allocations: 0.5479 MB / 0.674 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.5483, allocations: 56.5 kB / 0.6741 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=224): time 5.48e-06/0.5483, allocations: 0 / 0.6741 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=231): time 0.03971/0.588, allocations: 15.06 MB / 0.6888 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001555/0.5896, allocations: 1.503 MB / 0.6903 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004226/0.5938, allocations: 2.989 MB / 0.6932 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003944/0.5942, allocations: 49.7 kB / 0.6932 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002223/0.5964, allocations: 2.795 MB / 0.696 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001131/0.5976, allocations: 0.8874 MB / 0.6968 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001791/0.5993, allocations: 1.112 MB / 0.6979 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5995, allocations: 301.1 kB / 0.6982 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004264/0.6037, allocations: 2.626 MB / 0.7008 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007086/0.6108, allocations: 5.639 MB / 0.7063 GB, free: 11.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/0.6235, allocations: 8.937 MB / 0.715 GB, free: 1.176 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.363e-05/0.6236, allocations: 32 kB / 0.715 GB, free: 1.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.3098/0.9334, allocations: 17.12 MB / 0.7318 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.9336, allocations: 49.59 kB / 0.7318 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04056/0.9741, allocations: 10.61 MB / 0.7422 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04083/1.015, allocations: 8.641 MB / 0.7506 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004068/1.019, allocations: 1.297 MB / 0.7519 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02304/1.042, allocations: 17.34 MB / 0.7688 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004182/1.046, allocations: 419.6 kB / 0.7692 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007457/1.047, allocations: 316 kB / 0.7695 GB, free: 127.1 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.002405/1.049, allocations: 2.016 MB / 0.7715 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004132/1.05, allocations: 286.5 kB / 0.7717 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006748/1.057, allocations: 5.106 MB / 0.7767 GB, free: 120 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005835/1.062, allocations: 4.396 MB / 0.781 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.062, allocations: 10.83 kB / 0.781 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/1.062, allocations: 7.969 kB / 0.781 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/1.078, allocations: 12.41 MB / 0.7932 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/1.078, allocations: 8 kB / 0.7932 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/1.08, allocations: 453.2 kB / 0.7936 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002649/1.083, allocations: 0.9385 MB / 0.7945 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002162/1.083, allocations: 51.81 kB / 0.7946 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005137/1.088, allocations: 5.602 MB / 0.8 GB, free: 95.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006571/1.089, allocations: 1.443 MB / 0.8014 GB, free: 94.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008989/1.098, allocations: 7.741 MB / 0.809 GB, free: 86.78 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000665/1.099, allocations: 265.4 kB / 0.8093 GB, free: 86.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003427/1.099, allocations: 44 kB / 0.8093 GB, free: 86.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/1.1, allocations: 195.6 kB / 0.8095 GB, free: 86.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003563/1.101, allocations: 148.1 kB / 0.8096 GB, free: 86.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001476/1.101, allocations: 67.81 kB / 0.8097 GB, free: 86.24 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001841/1.103, allocations: 1.732 MB / 0.8114 GB, free: 84.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.103, allocations: 0 / 0.8114 GB, free: 84.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004647/1.107, allocations: 1.085 MB / 0.8124 GB, free: 83.43 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.009839/1.117, allocations: 8.391 MB / 0.8206 GB, free: 74.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009576/1.127, allocations: 6.228 MB / 0.8267 GB, free: 68.81 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.676e-05/1.127, allocations: 4 kB / 0.8267 GB, free: 68.81 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003027/1.13, allocations: 2.299 MB / 0.829 GB, free: 66.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/1.132, allocations: 375.7 kB / 0.8293 GB, free: 66.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1181/1.25, allocations: 56.82 MB / 0.8848 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002777/1.253, allocations: 2.62 MB / 0.8874 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00373/1.257, allocations: 2.056 MB / 0.8894 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002824/1.259, allocations: 1.656 MB / 0.891 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/1.259, allocations: 0 / 0.891 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.137/1.396, allocations: 71.32 MB / 0.9606 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.48/18.88, allocations: 10.12 kB / 0.9607 GB, free: 7.375 MB / 0.6387 GB " [Timeout remaining time 641] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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: 22.046560778981075] 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]'] 19.044026348972693 19.072213559 18.676038126 Calling exit ...