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.00144/0.00144, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001646/0.001646, allocations: 208.3 kB / 20.75 MB, free: 2.273 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 / 254.1 MB, free: 15.08 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.2499/0.2499, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.003134/0.003134, allocations: 75.89 kB / 0.4909 GB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1561, allocations: 65.99 MB / 0.5554 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01838/0.1744, allocations: 14.72 MB / 0.5698 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.1861, allocations: 5.021 MB / 0.5747 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003784/0.1898, allocations: 119.4 kB / 0.5748 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009394/0.1992, allocations: 4.201 MB / 0.5789 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008255/0.2075, allocations: 2.377 MB / 0.5812 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.2106, allocations: 1.072 MB / 0.5823 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01103/0.2216, allocations: 7.161 MB / 0.5892 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3298/0.5514, allocations: 4.302 MB / 0.5934 GB, free: 7.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00486/0.5563, allocations: 2.273 MB / 0.5957 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00621/0.5625, allocations: 3.282 MB / 0.5989 GB, free: 7.402 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002309/0.5648, allocations: 498.5 kB / 0.5994 GB, free: 7.402 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004424/0.5692, allocations: 1.398 MB / 0.6007 GB, free: 7.402 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004425/0.5737, allocations: 2.81 MB / 0.6035 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007113/0.5808, allocations: 3.268 MB / 0.6067 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01958/0.6004, allocations: 10.15 MB / 0.6166 GB, free: 3.551 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.6004, allocations: 4.953 kB / 0.6166 GB, free: 3.551 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.6004, allocations: 0 / 0.6166 GB, free: 3.551 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006113/0.601, allocations: 0 / 0.6166 GB, free: 3.551 MB / 446.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.02977/0.6308, allocations: 7.309 MB / 0.6237 GB, free: 14.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.523e-05/0.6308, allocations: 9.438 kB / 0.6237 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004655/0.6355, allocations: 0.9257 MB / 0.6246 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.179/0.8145, allocations: 12.56 MB / 0.6369 GB, free: 8.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01625/0.8307, allocations: 5.073 MB / 0.6418 GB, free: 4 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005255/0.8312, allocations: 328.9 kB / 0.6421 GB, free: 3.719 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003032/0.8343, allocations: 452.1 kB / 0.6426 GB, free: 3.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03461/0.8689, allocations: 12.96 MB / 0.6552 GB, free: 5.723 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004283/0.8693, allocations: 67.86 kB / 0.6553 GB, free: 5.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002165/0.8715, allocations: 205.6 kB / 0.6555 GB, free: 5.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005635/0.8771, allocations: 2.533 MB / 0.658 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02775/0.9049, allocations: 11.13 MB / 0.6688 GB, free: 8.113 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08733/0.9922, allocations: 52.19 MB / 0.7198 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01603/1.008, allocations: 5.328 MB / 0.725 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005257/1.013, allocations: 3.086 MB / 0.728 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000983/1.014, allocations: 0.6873 MB / 0.7287 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.991e-05/1.015, allocations: 63.28 kB / 0.7288 GB, free: 9.746 MB / 0.545 GB Notification: Performance of pre-optimization done (n=245): time 6.572e-06/1.015, allocations: 0 / 0.7288 GB, free: 9.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=315): time 0.1209/1.135, allocations: 35.28 MB / 0.7632 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002002/1.136, allocations: 268.2 kB / 0.7635 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01281/1.148, allocations: 5.198 MB / 0.7685 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009733/1.149, allocations: 69.7 kB / 0.7686 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004352/1.154, allocations: 4.072 MB / 0.7726 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002271/1.156, allocations: 1.229 MB / 0.7738 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00557/1.162, allocations: 1.523 MB / 0.7753 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.162, allocations: 309.1 kB / 0.7756 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007126/1.169, allocations: 3.4 MB / 0.7789 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01269/1.182, allocations: 7.559 MB / 0.7863 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01841/1.2, allocations: 11.86 MB / 0.7979 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001531/1.2, allocations: 44 kB / 0.7979 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=982) (initialization): time 0.03/1.23, allocations: 12.72 MB / 0.8103 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002186/1.23, allocations: 68 kB / 0.8104 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003242/1.231, allocations: 148 kB / 0.8105 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006897/1.238, allocations: 2.253 MB / 0.8127 GB, free: 248 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007319/1.245, allocations: 1.716 MB / 0.8144 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02466/1.27, allocations: 16.39 MB / 0.8304 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007532/1.277, allocations: 451.5 kB / 0.8308 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001902/1.279, allocations: 443.9 kB / 0.8313 GB, free: 12.99 MB / 0.6544 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.008034/1.287, allocations: 2.741 MB / 0.8339 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001845/1.289, allocations: 0.5006 MB / 0.8344 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01681/1.306, allocations: 7.276 MB / 0.8415 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.126e-05/1.306, allocations: 36 kB / 0.8416 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.8e-05/1.306, allocations: 8 kB / 0.8416 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.286e-05/1.306, allocations: 15.94 kB / 0.8416 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3369/1.643, allocations: 16.07 MB / 0.8573 GB, free: 225.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.57e-05/1.643, allocations: 6.281 kB / 0.8573 GB, free: 225.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00291/1.646, allocations: 0.4993 MB / 0.8578 GB, free: 225.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005996/1.652, allocations: 2.006 MB / 0.8597 GB, free: 225 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006959/1.652, allocations: 59.72 kB / 0.8598 GB, free: 225 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01851/1.671, allocations: 14.9 MB / 0.8743 GB, free: 217.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/1.671, allocations: 11.47 kB / 0.8744 GB, free: 217.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/1.688, allocations: 11.67 MB / 0.8858 GB, free: 212.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/1.69, allocations: 0.5486 MB / 0.8863 GB, free: 212.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001266/1.691, allocations: 67.14 kB / 0.8864 GB, free: 212.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00334/1.694, allocations: 207.8 kB / 0.8866 GB, free: 212.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008295/1.695, allocations: 208.3 kB / 0.8867 GB, free: 212.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002604/1.695, allocations: 86.48 kB / 0.8868 GB, free: 212.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005576/1.701, allocations: 3.292 MB / 0.89 GB, free: 210.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/1.701, allocations: 0 / 0.89 GB, free: 210.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.007902/1.709, allocations: 1.459 MB / 0.8915 GB, free: 209.3 MB / 0.6544 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.01807/1.727, allocations: 12.37 MB / 0.9035 GB, free: 198.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01349/1.74, allocations: 8.112 MB / 0.9115 GB, free: 191.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/1.74, allocations: 0 / 0.9115 GB, free: 191.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.008927/1.749, allocations: 3.881 MB / 0.9153 GB, free: 187.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009623/1.759, allocations: 0.6965 MB / 0.9159 GB, free: 187 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1172/1.876, allocations: 68.15 MB / 0.9825 GB, free: 112.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007612/1.884, allocations: 4.283 MB / 0.9867 GB, free: 107.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006708/1.89, allocations: 2.46 MB / 0.9891 GB, free: 105.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004823/1.895, allocations: 2.71 MB / 0.9917 GB, free: 102.7 MB / 0.6544 GB Notification: Performance of SimCode: time 1.482e-06/1.895, allocations: 0 / 0.9917 GB, free: 102.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4602/2.356, allocations: 112.7 MB / 1.102 GB, free: 217.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.03/24.39, allocations: 0.8438 kB / 1.102 GB, free: 217.1 MB / 0.6544 GB " [Timeout remaining time 635] (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: 27.695473205996677] 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'] 24.544709888054058 24.561858696 23.957590605 Calling exit ...