Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.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.001618/0.001618, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002/0.002, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2873/0.2873, allocations: 46.97 MB / 360.9 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 63.91 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3886, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01697/0.4055, allocations: 12.77 MB / 0.5731 GB, free: 7.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01306/0.4186, allocations: 4.805 MB / 0.5778 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003719/0.4223, allocations: 119.4 kB / 0.5779 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008998/0.4313, allocations: 4.034 MB / 0.5818 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008114/0.4394, allocations: 2.396 MB / 0.5842 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002861/0.4423, allocations: 1.08 MB / 0.5852 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01096/0.4532, allocations: 7.176 MB / 0.5922 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005776/0.459, allocations: 4.025 MB / 0.5961 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004163/0.4632, allocations: 2.278 MB / 0.5984 GB, free: 13.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005675/0.4688, allocations: 3.084 MB / 0.6014 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.4703, allocations: 496 kB / 0.6019 GB, free: 9.789 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003143/0.4735, allocations: 1.256 MB / 0.6031 GB, free: 8.531 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003261/0.4767, allocations: 2.809 MB / 0.6058 GB, free: 5.715 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004285/0.481, allocations: 2.474 MB / 0.6082 GB, free: 3.227 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0157/0.4967, allocations: 10.21 MB / 0.6182 GB, free: 8.977 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.4967, allocations: 0 / 0.6182 GB, free: 8.977 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4967, allocations: 0 / 0.6182 GB, free: 8.977 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003733/0.4971, allocations: 0 / 0.6182 GB, free: 8.977 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1953 * Number of variables: 1953 Notification: Performance of Generate backend data structure: time 0.02259/0.5197, allocations: 7.23 MB / 0.6253 GB, free: 1.672 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.5197, allocations: 12.03 kB / 0.6253 GB, free: 1.66 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002696/0.5224, allocations: 0.93 MB / 0.6262 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1721/0.6946, allocations: 12.55 MB / 0.6384 GB, free: 4.148 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01536/0.7099, allocations: 5.002 MB / 0.6433 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004393/0.7104, allocations: 332.5 kB / 0.6437 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002322/0.7127, allocations: 447.7 kB / 0.6441 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02795/0.7407, allocations: 13.12 MB / 0.6569 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000237/0.7409, allocations: 67.48 kB / 0.657 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006818/0.7416, allocations: 199.8 kB / 0.6571 GB, free: 0 / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005/0.7466, allocations: 2.531 MB / 0.6596 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02502/0.7716, allocations: 11.08 MB / 0.6704 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07446/0.846, allocations: 48.99 MB / 0.7183 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01378/0.8598, allocations: 4.883 MB / 0.723 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004598/0.8644, allocations: 3.113 MB / 0.7261 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006081/0.865, allocations: 233.7 kB / 0.7263 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.742e-05/0.8651, allocations: 64.48 kB / 0.7264 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=245): time 6.132e-06/0.8651, allocations: 0 / 0.7264 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=315): time 0.37/1.235, allocations: 34.8 MB / 0.7604 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.803e-05/1.235, allocations: 273.3 kB / 0.7606 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00608/1.241, allocations: 5.441 MB / 0.7659 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005833/1.242, allocations: 81.22 kB / 0.766 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001945/1.244, allocations: 4.062 MB / 0.77 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/1.245, allocations: 1.222 MB / 0.7712 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002002/1.247, allocations: 1.524 MB / 0.7727 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000108/1.247, allocations: 309.1 kB / 0.773 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00421/1.251, allocations: 3.403 MB / 0.7763 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005744/1.257, allocations: 7.665 MB / 0.7838 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01214/1.269, allocations: 11.84 MB / 0.7953 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001695/1.269, allocations: 40 kB / 0.7954 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.02239/1.292, allocations: 12.73 MB / 0.8078 GB, free: 89.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/1.292, allocations: 64 kB / 0.8079 GB, free: 89.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000142/1.292, allocations: 144 kB / 0.808 GB, free: 89.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004851/1.297, allocations: 2.239 MB / 0.8102 GB, free: 87.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005666/1.303, allocations: 1.719 MB / 0.8119 GB, free: 85.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01697/1.32, allocations: 16.02 MB / 0.8275 GB, free: 69.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007576/1.327, allocations: 456.3 kB / 0.8279 GB, free: 69.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001365/1.328, allocations: 443.9 kB / 0.8284 GB, free: 68.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 656 * Number of states: 0 () * Number of discrete variables: 44 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (906): * Single equations (assignments): 901 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,24,100.0%), (3,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00467/1.333, allocations: 2.743 MB / 0.831 GB, free: 65.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/1.334, allocations: 0.5044 MB / 0.8315 GB, free: 65.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/1.346, allocations: 7.264 MB / 0.8386 GB, free: 58.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.204e-05/1.346, allocations: 36.22 kB / 0.8387 GB, free: 58.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/1.346, allocations: 8 kB / 0.8387 GB, free: 58.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.098e-05/1.346, allocations: 15.95 kB / 0.8387 GB, free: 58.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02679/1.372, allocations: 15.24 MB / 0.8536 GB, free: 42.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.282e-05/1.373, allocations: 12.81 kB / 0.8536 GB, free: 42.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002313/1.375, allocations: 0.4992 MB / 0.8541 GB, free: 42.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00457/1.379, allocations: 2.003 MB / 0.856 GB, free: 40.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004425/1.38, allocations: 63.98 kB / 0.8561 GB, free: 40.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01701/1.397, allocations: 14.53 MB / 0.8703 GB, free: 25.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.397, allocations: 11.94 kB / 0.8703 GB, free: 25.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01566/1.413, allocations: 11.66 MB / 0.8817 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/1.414, allocations: 492.7 kB / 0.8821 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008547/1.415, allocations: 59.36 kB / 0.8822 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002531/1.418, allocations: 211.7 kB / 0.8824 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005918/1.418, allocations: 217.3 kB / 0.8826 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/1.418, allocations: 87.98 kB / 0.8827 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004424/1.423, allocations: 3.294 MB / 0.8859 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/1.423, allocations: 4 kB / 0.8859 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00712/1.43, allocations: 1.457 MB / 0.8873 GB, free: 7.777 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (253): * Single equations (assignments): 248 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,17,46.9%), (7,17,46.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.018/1.448, allocations: 12.37 MB / 0.8994 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01538/1.463, allocations: 8.113 MB / 0.9073 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/1.463, allocations: 4 kB / 0.9073 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.008533/1.472, allocations: 3.861 MB / 0.9111 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004414/1.476, allocations: 0.695 MB / 0.9118 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.451/1.927, allocations: 68.26 MB / 0.9785 GB, free: 234.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009514/1.937, allocations: 3.773 MB / 0.9821 GB, free: 234.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006402/1.943, allocations: 2.454 MB / 0.9845 GB, free: 234.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004052/1.947, allocations: 2.71 MB / 0.9872 GB, free: 234.5 MB / 0.6544 GB Notification: Performance of SimCode: time 1.794e-06/1.947, allocations: 0 / 0.9872 GB, free: 234.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1726/2.12, allocations: 114.4 MB / 1.099 GB, free: 131.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.58/21.7, allocations: 12 kB / 1.099 GB, free: 131.6 MB / 0.6544 GB " [Timeout remaining time 638] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_FreeMotion2_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_FreeMotion2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.08219766104594] Failed to read output from testmodel.py, exit status != 0: ['time', 'freeMotion.r_rel_a[1]', 'freeMotion.v_rel_a[1]', 'prismatic1.s', 'prismatic1.v', 'universal.phi_a', 'universal.phi_b', 'universal.w_a', 'universal.w_b', 'universal1.phi_a', 'universal1.phi_b', 'universal1.w_a', 'universal1.w_b'] 21.8811362599954 21.891378168 21.391996068 Calling exit ...