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.0008059/0.0008059, allocations: 84.34 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0008462/0.0008462, allocations: 156.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.9258/0.9258, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.2539/0.2539, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 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 1.462e-06/1.462e-06, allocations: 0 / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.729e-05, allocations: 9.094 kB / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.2106/0.2106, allocations: 12.76 MB / 454.9 MB, free: 36.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007496/0.2181, allocations: 4.822 MB / 459.8 MB, free: 33.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/0.2207, allocations: 123.7 kB / 459.9 MB, free: 33.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004081/0.2247, allocations: 4.239 MB / 464.1 MB, free: 31.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006656/0.2314, allocations: 2.469 MB / 466.6 MB, free: 30.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.2337, allocations: 1.174 MB / 467.8 MB, free: 30.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008314/0.242, allocations: 8.231 MB / 476 MB, free: 27.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005136/0.2472, allocations: 4.814 MB / 480.8 MB, free: 25.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007624/0.2548, allocations: 3.514 MB / 484.3 MB, free: 23.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008689/0.2635, allocations: 3.429 MB / 487.7 MB, free: 22.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003233/0.2667, allocations: 0.5007 MB / 488.2 MB, free: 22.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005293/0.272, allocations: 1.328 MB / 489.6 MB, free: 22.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005191/0.2772, allocations: 2.952 MB / 492.5 MB, free: 21.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006014/0.2832, allocations: 1.998 MB / 494.5 MB, free: 20.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01428/0.2975, allocations: 10.29 MB / 0.493 GB, free: 14.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.2975, allocations: 1 kB / 0.493 GB, free: 14.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2975, allocations: 0 / 0.493 GB, free: 14.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004885/0.298, allocations: 0 / 0.493 GB, free: 14.74 MB / 410.7 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.02491/0.3229, allocations: 7.347 MB / 0.5002 GB, free: 9.707 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.323, allocations: 9.281 kB / 0.5002 GB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004153/0.3271, allocations: 0.9217 MB / 0.5011 GB, free: 9.066 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0741/0.4012, allocations: 12.98 MB / 0.5137 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/0.4118, allocations: 4.502 MB / 0.5181 GB, free: 8.188 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/0.4121, allocations: 328.8 kB / 0.5184 GB, free: 7.863 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001843/0.4139, allocations: 448.1 kB / 0.5189 GB, free: 7.426 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02032/0.4342, allocations: 13.11 MB / 0.5317 GB, free: 9.398 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002506/0.4345, allocations: 71.42 kB / 0.5318 GB, free: 9.328 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000898/0.4354, allocations: 203.8 kB / 0.5319 GB, free: 9.129 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002864/0.4382, allocations: 2.531 MB / 0.5344 GB, free: 6.594 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01849/0.4567, allocations: 11.09 MB / 0.5452 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06135/0.5181, allocations: 49.47 MB / 0.5936 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008758/0.5268, allocations: 5.019 MB / 0.5985 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003206/0.53, allocations: 3.122 MB / 0.6015 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/0.5304, allocations: 242.2 kB / 0.6017 GB, free: 416 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.5304, allocations: 64.5 kB / 0.6018 GB, free: 340 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 4.639e-06/0.5304, allocations: 0 / 0.6018 GB, free: 340 kB / 0.4948 GB Notification: Performance of matching and sorting (n=315): time 0.2843/0.8147, allocations: 35.94 MB / 0.6369 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.795e-05/0.8148, allocations: 275.5 kB / 0.6372 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006952/0.8217, allocations: 5.948 MB / 0.643 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008808/0.8226, allocations: 77.77 kB / 0.643 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001438/0.824, allocations: 4.027 MB / 0.647 GB, free: 147 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001257/0.8253, allocations: 1.205 MB / 0.6482 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001462/0.8268, allocations: 1.507 MB / 0.6496 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.512e-05/0.8268, allocations: 301.1 kB / 0.6499 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003236/0.83, allocations: 3.406 MB / 0.6532 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004615/0.8346, allocations: 7.66 MB / 0.6607 GB, free: 137 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/0.8462, allocations: 11.86 MB / 0.6723 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001613/0.8463, allocations: 42.22 kB / 0.6723 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.02264/0.869, allocations: 12.72 MB / 0.6848 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.8691, allocations: 66.78 kB / 0.6848 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002046/0.8693, allocations: 143.4 kB / 0.685 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003924/0.8732, allocations: 2.248 MB / 0.6872 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005188/0.8784, allocations: 1.717 MB / 0.6888 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/0.8925, allocations: 16.12 MB / 0.7046 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006462/0.899, allocations: 0.5361 MB / 0.7051 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002143/0.9011, allocations: 445.7 kB / 0.7055 GB, free: 113.4 MB / 0.5261 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.006341/0.9074, allocations: 2.738 MB / 0.7082 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001399/0.9088, allocations: 0.5103 MB / 0.7087 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008019/0.9169, allocations: 7.268 MB / 0.7158 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.148e-05/0.9169, allocations: 32 kB / 0.7158 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.237e-05/0.9169, allocations: 14.36 kB / 0.7158 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.9169, allocations: 18.97 kB / 0.7159 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02163/0.9386, allocations: 15.4 MB / 0.7309 GB, free: 91.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.9386, allocations: 8 kB / 0.7309 GB, free: 91.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/0.9398, allocations: 0.4953 MB / 0.7314 GB, free: 90.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002741/0.9426, allocations: 2.004 MB / 0.7333 GB, free: 88.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002816/0.9429, allocations: 60 kB / 0.7334 GB, free: 88.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/0.9541, allocations: 14.65 MB / 0.7477 GB, free: 73.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.9541, allocations: 4 kB / 0.7477 GB, free: 73.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/0.9655, allocations: 11.66 MB / 0.7591 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/0.9674, allocations: 0.5684 MB / 0.7596 GB, free: 61.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006227/0.968, allocations: 59.98 kB / 0.7597 GB, free: 61.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00176/0.9697, allocations: 283.6 kB / 0.76 GB, free: 60.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000524/0.9703, allocations: 221.4 kB / 0.7602 GB, free: 60.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/0.9704, allocations: 91.17 kB / 0.7603 GB, free: 60.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004742/0.9752, allocations: 3.688 MB / 0.7639 GB, free: 56.92 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9752, allocations: 0 / 0.7639 GB, free: 56.92 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006951/0.9821, allocations: 1.672 MB / 0.7655 GB, free: 55.25 MB / 0.5261 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.01107/0.9932, allocations: 12.37 MB / 0.7776 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009642/1.003, allocations: 8.127 MB / 0.7855 GB, free: 34.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/1.003, allocations: 4 kB / 0.7855 GB, free: 34.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004445/1.007, allocations: 3.846 MB / 0.7893 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004369/1.012, allocations: 0.7026 MB / 0.79 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3058/1.317, allocations: 69.63 MB / 0.858 GB, free: 159 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004252/1.322, allocations: 3.772 MB / 0.8616 GB, free: 158 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004044/1.326, allocations: 2.474 MB / 0.8641 GB, free: 157.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003094/1.329, allocations: 2.73 MB / 0.8667 GB, free: 155.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.763e-06/1.329, allocations: 0 / 0.8667 GB, free: 155.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1364/1.465, allocations: 117.5 MB / 0.9815 GB, free: 65.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.69, allocations: 11.42 kB / 0.9815 GB, free: 65.78 MB / 0.5573 GB " [Timeout remaining time 646] (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: 15.800549736246467] 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'] 13.8268524101004 13.833254999 13.533994869 Calling exit ...