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.001544/0.001544, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001876/0.001876, allocations: 209 kB / 23.73 MB, free: 4.523 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.55/1.55, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2342/0.2342, allocations: 46.97 MB / 360.9 MB, free: 4.023 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+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.002062/0.002062, allocations: 79.88 kB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3573, allocations: 66.03 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01731/0.3746, allocations: 12.75 MB / 0.5731 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.3864, allocations: 4.809 MB / 0.5778 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003805/0.3903, allocations: 123.4 kB / 0.5779 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008945/0.3992, allocations: 4.038 MB / 0.5818 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00758/0.4068, allocations: 2.393 MB / 0.5842 GB, free: 12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.4101, allocations: 1.08 MB / 0.5852 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01168/0.4218, allocations: 7.176 MB / 0.5922 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006438/0.4282, allocations: 4.049 MB / 0.5962 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00501/0.4332, allocations: 2.274 MB / 0.5984 GB, free: 13.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007206/0.4404, allocations: 3.283 MB / 0.6016 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001925/0.4424, allocations: 496 kB / 0.6021 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003958/0.4463, allocations: 1.276 MB / 0.6033 GB, free: 8.277 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004238/0.4506, allocations: 2.82 MB / 0.6061 GB, free: 5.449 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005168/0.4557, allocations: 2.471 MB / 0.6085 GB, free: 2.965 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.4703, allocations: 10.2 MB / 0.6184 GB, free: 8.727 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/0.4703, allocations: 4 kB / 0.6184 GB, free: 8.723 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4703, allocations: 0 / 0.6184 GB, free: 8.723 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003615/0.4707, allocations: 0 / 0.6184 GB, free: 8.723 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.02493/0.4956, allocations: 7.23 MB / 0.6255 GB, free: 1.418 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/0.4957, allocations: 8.031 kB / 0.6255 GB, free: 1.41 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00316/0.4989, allocations: 0.93 MB / 0.6264 GB, free: 480 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1535/0.6523, allocations: 12.56 MB / 0.6387 GB, free: 3.895 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01481/0.6671, allocations: 5.002 MB / 0.6436 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004208/0.6676, allocations: 332.5 kB / 0.6439 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002066/0.6696, allocations: 447.7 kB / 0.6443 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03123/0.7009, allocations: 13.11 MB / 0.6571 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005034/0.7014, allocations: 71.61 kB / 0.6572 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001744/0.7031, allocations: 207.8 kB / 0.6574 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005157/0.7083, allocations: 2.531 MB / 0.6599 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02602/0.7343, allocations: 11.08 MB / 0.6707 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08013/0.8144, allocations: 48.98 MB / 0.7185 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01384/0.8283, allocations: 4.883 MB / 0.7233 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004692/0.8329, allocations: 3.116 MB / 0.7263 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006602/0.8336, allocations: 233.7 kB / 0.7265 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.079e-05/0.8337, allocations: 72.44 kB / 0.7266 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=245): time 5.761e-06/0.8337, allocations: 0 / 0.7266 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of matching and sorting (n=315): time 0.376/1.21, allocations: 34.8 MB / 0.7606 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/1.21, allocations: 269.3 kB / 0.7609 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006707/1.217, allocations: 5.443 MB / 0.7662 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008355/1.217, allocations: 73.7 kB / 0.7662 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002116/1.219, allocations: 4.074 MB / 0.7702 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001494/1.221, allocations: 1.215 MB / 0.7714 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002024/1.223, allocations: 1.524 MB / 0.7729 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.985e-05/1.223, allocations: 305.1 kB / 0.7732 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004042/1.227, allocations: 3.4 MB / 0.7765 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005482/1.233, allocations: 7.669 MB / 0.784 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01214/1.245, allocations: 11.85 MB / 0.7956 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002361/1.245, allocations: 42.16 kB / 0.7956 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.0217/1.267, allocations: 12.72 MB / 0.808 GB, free: 89.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.282e-05/1.267, allocations: 64 kB / 0.8081 GB, free: 89.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001663/1.267, allocations: 144 kB / 0.8082 GB, free: 89.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00517/1.272, allocations: 2.243 MB / 0.8104 GB, free: 87.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005571/1.278, allocations: 1.716 MB / 0.8121 GB, free: 85.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01633/1.294, allocations: 16.03 MB / 0.8278 GB, free: 69.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0062/1.3, allocations: 456.3 kB / 0.8282 GB, free: 68.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/1.301, allocations: 447.9 kB / 0.8286 GB, free: 68.46 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.004482/1.306, allocations: 2.737 MB / 0.8313 GB, free: 65.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.307, allocations: 0.5023 MB / 0.8318 GB, free: 65.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/1.318, allocations: 7.268 MB / 0.8389 GB, free: 57.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.937e-05/1.318, allocations: 35.52 kB / 0.8389 GB, free: 57.83 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/1.318, allocations: 8 kB / 0.8389 GB, free: 57.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-05/1.318, allocations: 15.95 kB / 0.8389 GB, free: 57.81 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02641/1.344, allocations: 15.23 MB / 0.8538 GB, free: 42.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.045e-05/1.344, allocations: 14.94 kB / 0.8538 GB, free: 42.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002309/1.347, allocations: 0.4953 MB / 0.8543 GB, free: 42.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004484/1.351, allocations: 2.007 MB / 0.8563 GB, free: 40 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004272/1.351, allocations: 64 kB / 0.8563 GB, free: 39.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01567/1.367, allocations: 14.53 MB / 0.8705 GB, free: 25.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.367, allocations: 11.98 kB / 0.8705 GB, free: 25.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/1.382, allocations: 11.67 MB / 0.8819 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/1.384, allocations: 488.4 kB / 0.8824 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/1.385, allocations: 67.81 kB / 0.8825 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/1.387, allocations: 207.7 kB / 0.8826 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005465/1.388, allocations: 213.4 kB / 0.8829 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002207/1.388, allocations: 87.98 kB / 0.8829 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00401/1.392, allocations: 3.298 MB / 0.8862 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.31e-07/1.392, allocations: 4 kB / 0.8862 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006204/1.398, allocations: 1.457 MB / 0.8876 GB, free: 7.535 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.01789/1.416, allocations: 12.36 MB / 0.8997 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01578/1.432, allocations: 8.118 MB / 0.9076 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/1.432, allocations: 4.125 kB / 0.9076 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.008967/1.441, allocations: 3.86 MB / 0.9114 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005129/1.446, allocations: 0.7036 MB / 0.912 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.415/1.861, allocations: 68.25 MB / 0.9787 GB, free: 235.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008297/1.869, allocations: 3.771 MB / 0.9824 GB, free: 234.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00504/1.874, allocations: 2.458 MB / 0.9848 GB, free: 234.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003444/1.878, allocations: 2.711 MB / 0.9874 GB, free: 234.7 MB / 0.6544 GB Notification: Performance of SimCode: time 1.453e-06/1.878, allocations: 0 / 0.9874 GB, free: 234.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1647/2.043, allocations: 117.7 MB / 1.102 GB, free: 128.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.23/21.27, allocations: 3.938 kB / 1.102 GB, free: 128.1 MB / 0.6544 GB " [Timeout remaining time 639] (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: 24.469455359998392] 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.453214348002803 21.473013925 20.998389792 Calling exit ...