Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001161/0.001161, allocations: 105.7 kB / 19.74 MB, free: 2.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.001254/0.001254, allocations: 218.4 kB / 22.92 MB, free: 5.191 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.296/1.296, allocations: 230.2 MB / 256.2 MB, free: 8.574 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2/0.2, allocations: 46.9 MB / 359.3 MB, free: 4.965 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-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 83.8 kB / 0.494 GB, free: 9.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.271, allocations: 65.98 MB / 0.5584 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01495/0.286, allocations: 14.75 MB / 0.5728 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.296, allocations: 5.039 MB / 0.5777 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002135/0.2982, allocations: 103.6 kB / 0.5778 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007296/0.3055, allocations: 4.209 MB / 0.582 GB, free: 13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005584/0.3111, allocations: 2.381 MB / 0.5843 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.3133, allocations: 1.076 MB / 0.5853 GB, free: 9.531 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009017/0.3223, allocations: 7.164 MB / 0.5923 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004713/0.3271, allocations: 3.745 MB / 0.596 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003308/0.3304, allocations: 2.239 MB / 0.5982 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004608/0.335, allocations: 3.271 MB / 0.6014 GB, free: 9.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009513/0.3359, allocations: 500 kB / 0.6018 GB, free: 8.531 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/0.3385, allocations: 1.401 MB / 0.6032 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002789/0.3413, allocations: 2.809 MB / 0.606 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003775/0.3451, allocations: 3.275 MB / 0.6092 GB, free: 1.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.3562, allocations: 10.14 MB / 0.6191 GB, free: 6.832 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3562, allocations: 0 / 0.6191 GB, free: 6.832 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3562, allocations: 0 / 0.6191 GB, free: 6.832 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002355/0.3565, allocations: 0 / 0.6191 GB, free: 6.832 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.01635/0.3728, allocations: 7.312 MB / 0.6262 GB, free: 15.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3729, allocations: 12.03 kB / 0.6262 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001226/0.3741, allocations: 0.93 MB / 0.6271 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1608/0.5349, allocations: 12.55 MB / 0.6394 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01021/0.5451, allocations: 5.085 MB / 0.6443 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002438/0.5454, allocations: 332.5 kB / 0.6447 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000838/0.5462, allocations: 447.7 kB / 0.6451 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02174/0.5679, allocations: 12.96 MB / 0.6577 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001939/0.5681, allocations: 67.48 kB / 0.6578 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00051/0.5687, allocations: 207.8 kB / 0.658 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004407/0.5731, allocations: 2.527 MB / 0.6605 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02125/0.5943, allocations: 11.13 MB / 0.6713 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06371/0.658, allocations: 52.19 MB / 0.7223 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01337/0.6714, allocations: 5.338 MB / 0.7275 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004247/0.6756, allocations: 3.09 MB / 0.7305 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007471/0.6764, allocations: 0.6839 MB / 0.7312 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.064e-05/0.6764, allocations: 64.5 kB / 0.7313 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=245): time 5.219e-06/0.6764, allocations: 0 / 0.7313 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=315): time 0.2931/0.9695, allocations: 35.27 MB / 0.7657 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.9696, allocations: 267.6 kB / 0.766 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004769/0.9743, allocations: 5.204 MB / 0.7711 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003737/0.9747, allocations: 69.7 kB / 0.7711 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.9761, allocations: 4.07 MB / 0.7751 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007598/0.9769, allocations: 1.221 MB / 0.7763 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001442/0.9783, allocations: 1.532 MB / 0.7778 GB, free: 124 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.047e-05/0.9783, allocations: 301.1 kB / 0.7781 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003319/0.9817, allocations: 3.403 MB / 0.7814 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004425/0.9861, allocations: 7.559 MB / 0.7888 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008749/0.9948, allocations: 11.86 MB / 0.8004 GB, free: 96.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.906e-05/0.9949, allocations: 44 kB / 0.8004 GB, free: 96.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.01536/1.01, allocations: 12.72 MB / 0.8128 GB, free: 84.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/1.01, allocations: 74.44 kB / 0.8129 GB, free: 83.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.081e-05/1.01, allocations: 144 kB / 0.813 GB, free: 83.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004456/1.015, allocations: 2.243 MB / 0.8152 GB, free: 81.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00464/1.019, allocations: 1.712 MB / 0.8169 GB, free: 79.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/1.034, allocations: 16.4 MB / 0.8329 GB, free: 63.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00499/1.039, allocations: 451.4 kB / 0.8333 GB, free: 62.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006011/1.039, allocations: 443.9 kB / 0.8338 GB, free: 62.29 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.002893/1.042, allocations: 2.748 MB / 0.8364 GB, free: 59.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000668/1.043, allocations: 0.4967 MB / 0.8369 GB, free: 59.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009772/1.053, allocations: 7.268 MB / 0.844 GB, free: 51.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/1.053, allocations: 36 kB / 0.8441 GB, free: 51.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/1.053, allocations: 8 kB / 0.8441 GB, free: 51.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/1.053, allocations: 15.89 kB / 0.8441 GB, free: 51.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01888/1.072, allocations: 16.08 MB / 0.8598 GB, free: 35.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/1.072, allocations: 8 kB / 0.8598 GB, free: 35.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002122/1.074, allocations: 0.4915 MB / 0.8603 GB, free: 34.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004082/1.078, allocations: 2.015 MB / 0.8622 GB, free: 32.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/1.078, allocations: 60 kB / 0.8623 GB, free: 32.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0149/1.093, allocations: 14.89 MB / 0.8768 GB, free: 17.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/1.093, allocations: 15.94 kB / 0.8768 GB, free: 17.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/1.106, allocations: 11.67 MB / 0.8882 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008986/1.107, allocations: 0.5483 MB / 0.8888 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004899/1.108, allocations: 67.98 kB / 0.8888 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/1.11, allocations: 207.7 kB / 0.889 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004409/1.11, allocations: 209.4 kB / 0.8892 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001863/1.11, allocations: 80 kB / 0.8893 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003401/1.114, allocations: 3.298 MB / 0.8925 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.114, allocations: 0 / 0.8925 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004569/1.118, allocations: 1.461 MB / 0.894 GB, free: 15.99 MB / 0.5762 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.01805/1.136, allocations: 12.37 MB / 0.906 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01318/1.15, allocations: 8.115 MB / 0.914 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.15, allocations: 5.781 kB / 0.914 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007583/1.157, allocations: 3.863 MB / 0.9177 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003513/1.161, allocations: 0.6969 MB / 0.9184 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3063/1.467, allocations: 68.27 MB / 0.9851 GB, free: 228.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003563/1.471, allocations: 4.275 MB / 0.9893 GB, free: 227.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004244/1.475, allocations: 2.46 MB / 0.9917 GB, free: 227.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003/1.478, allocations: 2.712 MB / 0.9943 GB, free: 226.3 MB / 0.6544 GB Notification: Performance of SimCode: time 1.032e-06/1.478, allocations: 0 / 0.9943 GB, free: 226.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1481/1.626, allocations: 113.5 MB / 1.105 GB, free: 121.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.84/20.47, allocations: 6.562 kB / 1.105 GB, free: 121.4 MB / 0.6544 GB " [Timeout remaining time 639] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_FreeMotion2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_FreeMotion2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.143648033001227]