Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.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.001369/0.001369, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001526/0.001526, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.523/1.523, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.2419/0.2419, allocations: 46.93 MB / 360.8 MB, free: 4.203 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.FreeMotion2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002661/0.002661, allocations: 79.86 kB / 0.4962 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3691, allocations: 66.08 MB / 0.5607 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.0193/0.3884, allocations: 14.76 MB / 0.5752 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.4014, allocations: 5.039 MB / 0.5801 GB, free: 448 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003127/0.4045, allocations: 119.4 kB / 0.5802 GB, free: 328 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01002/0.4145, allocations: 4.217 MB / 0.5843 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008995/0.4235, allocations: 2.385 MB / 0.5866 GB, free: 9.695 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003556/0.4271, allocations: 1.08 MB / 0.5877 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01346/0.4405, allocations: 7.18 MB / 0.5947 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008478/0.449, allocations: 4.052 MB / 0.5987 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006312/0.4553, allocations: 2.274 MB / 0.6009 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006331/0.4617, allocations: 3.283 MB / 0.6041 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001915/0.4636, allocations: 500 kB / 0.6046 GB, free: 7.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004512/0.4681, allocations: 1.393 MB / 0.6059 GB, free: 5.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004503/0.4726, allocations: 2.816 MB / 0.6087 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006469/0.4791, allocations: 3.267 MB / 0.6119 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01583/0.4949, allocations: 10.15 MB / 0.6218 GB, free: 5.535 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.4949, allocations: 0 / 0.6218 GB, free: 5.535 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4949, allocations: 0 / 0.6218 GB, free: 5.535 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004428/0.4953, allocations: 0 / 0.6218 GB, free: 5.535 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.02416/0.5195, allocations: 7.238 MB / 0.6288 GB, free: 14.22 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.5196, allocations: 8.031 kB / 0.6289 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003122/0.5227, allocations: 0.9261 MB / 0.6298 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1622/0.6848, allocations: 12.56 MB / 0.642 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01442/0.6993, allocations: 4.99 MB / 0.6469 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004427/0.6997, allocations: 328.5 kB / 0.6472 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002136/0.7018, allocations: 447.7 kB / 0.6476 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03174/0.7336, allocations: 12.96 MB / 0.6603 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006393/0.7342, allocations: 75.41 kB / 0.6604 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002772/0.737, allocations: 203.8 kB / 0.6606 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005483/0.7425, allocations: 2.523 MB / 0.663 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02518/0.7677, allocations: 11.13 MB / 0.6739 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07806/0.8457, allocations: 52.04 MB / 0.7247 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01406/0.8598, allocations: 4.894 MB / 0.7295 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004626/0.8644, allocations: 3.113 MB / 0.7325 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006339/0.865, allocations: 253.6 kB / 0.7328 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.894e-05/0.8651, allocations: 64.42 kB / 0.7328 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=245): time 5.751e-06/0.8651, allocations: 0 / 0.7328 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of matching and sorting (n=315): time 0.3966/1.262, allocations: 34.69 MB / 0.7667 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.762e-05/1.262, allocations: 265.3 kB / 0.767 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006377/1.268, allocations: 5.199 MB / 0.772 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009029/1.269, allocations: 73.7 kB / 0.7721 GB, free: 132 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00215/1.271, allocations: 4.072 MB / 0.7761 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001305/1.273, allocations: 1.226 MB / 0.7773 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/1.274, allocations: 1.524 MB / 0.7788 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.963e-05/1.274, allocations: 305.1 kB / 0.7791 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003881/1.278, allocations: 3.403 MB / 0.7824 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005441/1.284, allocations: 7.558 MB / 0.7898 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/1.295, allocations: 11.85 MB / 0.8013 GB, free: 98.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001108/1.295, allocations: 40 kB / 0.8014 GB, free: 97.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.02144/1.316, allocations: 12.72 MB / 0.8138 GB, free: 85.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.317e-05/1.316, allocations: 71.94 kB / 0.8139 GB, free: 85.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/1.316, allocations: 144 kB / 0.814 GB, free: 85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004972/1.321, allocations: 2.247 MB / 0.8162 GB, free: 82.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006131/1.327, allocations: 1.716 MB / 0.8179 GB, free: 81.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/1.345, allocations: 16.19 MB / 0.8337 GB, free: 64.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008332/1.353, allocations: 447.4 kB / 0.8341 GB, free: 64.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001212/1.355, allocations: 439.9 kB / 0.8345 GB, free: 63.75 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.004288/1.359, allocations: 2.741 MB / 0.8372 GB, free: 61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/1.36, allocations: 0.5006 MB / 0.8377 GB, free: 60.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/1.371, allocations: 7.272 MB / 0.8448 GB, free: 53.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.236e-05/1.371, allocations: 39.38 kB / 0.8448 GB, free: 53.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/1.371, allocations: 8 kB / 0.8449 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.836e-05/1.371, allocations: 19.88 kB / 0.8449 GB, free: 53.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02562/1.397, allocations: 16.04 MB / 0.8605 GB, free: 36.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.923e-05/1.397, allocations: 8 kB / 0.8605 GB, free: 36.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/1.399, allocations: 0.4992 MB / 0.861 GB, free: 36.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004461/1.404, allocations: 2.011 MB / 0.863 GB, free: 34.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005607/1.404, allocations: 60 kB / 0.8631 GB, free: 34.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01674/1.421, allocations: 14.69 MB / 0.8774 GB, free: 19.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.421, allocations: 15.94 kB / 0.8774 GB, free: 19.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01581/1.437, allocations: 11.67 MB / 0.8888 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/1.438, allocations: 489.5 kB / 0.8893 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007589/1.439, allocations: 64.11 kB / 0.8893 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/1.441, allocations: 211.2 kB / 0.8895 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005143/1.442, allocations: 229.2 kB / 0.8898 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002083/1.442, allocations: 87.98 kB / 0.8898 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004757/1.447, allocations: 3.29 MB / 0.893 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.447, allocations: 0 / 0.893 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006736/1.453, allocations: 1.465 MB / 0.8945 GB, free: 1.805 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.02229/1.476, allocations: 12.35 MB / 0.9065 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0173/1.493, allocations: 8.112 MB / 0.9145 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.493, allocations: 0 / 0.9145 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.009294/1.502, allocations: 3.871 MB / 0.9182 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005202/1.508, allocations: 0.698 MB / 0.9189 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4251/1.933, allocations: 68.27 MB / 0.9856 GB, free: 230.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004815/1.937, allocations: 4.284 MB / 0.9898 GB, free: 229.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004913/1.942, allocations: 2.461 MB / 0.9922 GB, free: 229.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003665/1.946, allocations: 2.708 MB / 0.9948 GB, free: 228.8 MB / 0.6544 GB Notification: Performance of SimCode: time 1.032e-06/1.946, allocations: 0 / 0.9948 GB, free: 228.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1705/2.117, allocations: 119.2 MB / 1.111 GB, free: 120.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.23/27.35, allocations: 0 / 1.111 GB, free: 120.7 MB / 0.6544 GB " [Timeout remaining time 632] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion2_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 30.589004651876166] 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'] 27.533250943990424 27.548492505 27.049929458 Calling exit ...