Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.000782/0.000782, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008214/0.0008214, allocations: 170.3 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8777/0.8777, allocations: 158.6 MB / 185 MB, free: 3.066 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1426/0.1426, allocations: 32.37 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.726e-05, allocations: 5.656 kB / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01029/0.01031, allocations: 13.25 MB / 420.1 MB, free: 208 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007792/0.01811, allocations: 4.899 MB / 425 MB, free: 11.29 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.01944, allocations: 123.4 kB / 425.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003995/0.02343, allocations: 4.286 MB / 429.4 MB, free: 6.863 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006849/0.03028, allocations: 2.577 MB / 432 MB, free: 4.273 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.03313, allocations: 1.193 MB / 433.2 MB, free: 3.078 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.1966/0.2298, allocations: 7.824 MB / 441 MB, free: 16.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006413/0.2362, allocations: 4.894 MB / 445.9 MB, free: 16.24 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00865/0.2448, allocations: 3.652 MB / 449.6 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006041/0.2509, allocations: 3.535 MB / 453.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002486/0.2534, allocations: 0.5211 MB / 453.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003656/0.257, allocations: 1.355 MB / 455 MB, free: 15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002889/0.2599, allocations: 3.071 MB / 458 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003052/0.263, allocations: 2.085 MB / 460.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008105/0.2711, allocations: 10.71 MB / 470.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2711, allocations: 0 / 470.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2711, allocations: 0 / 470.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003233/0.2714, allocations: 5.344 kB / 470.8 MB, free: 6.301 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.01524/0.2866, allocations: 7.571 MB / 478.4 MB, free: 15.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.2867, allocations: 8.031 kB / 478.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002021/0.2887, allocations: 0.9648 MB / 479.4 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07414/0.3628, allocations: 13.03 MB / 492.4 MB, free: 1.316 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00907/0.3719, allocations: 4.927 MB / 497.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/0.3722, allocations: 335.2 kB / 497.7 MB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001905/0.3741, allocations: 453 kB / 498.1 MB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0226/0.3967, allocations: 13.59 MB / 0.4997 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00026/0.3969, allocations: 73.62 kB / 0.4998 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009784/0.3979, allocations: 213.4 kB / 0.5 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00305/0.401, allocations: 2.649 MB / 0.5026 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01981/0.4208, allocations: 11.52 MB / 0.5138 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05964/0.4804, allocations: 50.79 MB / 0.5634 GB, free: 12.12 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009143/0.4896, allocations: 5.141 MB / 0.5684 GB, free: 6.961 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004017/0.4936, allocations: 3.165 MB / 0.5715 GB, free: 3.793 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004311/0.494, allocations: 241.7 kB / 0.5718 GB, free: 3.562 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.4941, allocations: 63.38 kB / 0.5718 GB, free: 3.492 MB / 474.7 MB Notification: Performance of pre-optimization done (n=254): time 5.881e-06/0.4941, allocations: 0 / 0.5718 GB, free: 3.492 MB / 474.7 MB Notification: Performance of matching and sorting (n=324): time 0.06962/0.5637, allocations: 36.77 MB / 0.6077 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.5638, allocations: 269.4 kB / 0.608 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007887/0.5717, allocations: 6.198 MB / 0.614 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009012/0.5726, allocations: 73.7 kB / 0.6141 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002318/0.575, allocations: 4.155 MB / 0.6182 GB, free: 4.109 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00155/0.5765, allocations: 1.243 MB / 0.6194 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001929/0.5784, allocations: 1.541 MB / 0.6209 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.5786, allocations: 305.1 kB / 0.6212 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2023/0.7809, allocations: 3.47 MB / 0.6246 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007395/0.7883, allocations: 7.829 MB / 0.6322 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/0.8009, allocations: 12.1 MB / 0.644 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001768/0.8011, allocations: 42.34 kB / 0.6441 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02244/0.8235, allocations: 12.97 MB / 0.6567 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.946e-05/0.8236, allocations: 64.75 kB / 0.6568 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/0.8237, allocations: 149.6 kB / 0.6569 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003575/0.8273, allocations: 2.253 MB / 0.6591 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004257/0.8316, allocations: 1.768 MB / 0.6609 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/0.845, allocations: 16.15 MB / 0.6766 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0101/0.8551, allocations: 0.5472 MB / 0.6772 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00205/0.8572, allocations: 464.6 kB / 0.6776 GB, free: 133.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 42 (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 (931): * Single equations (assignments): 926 * 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.007728/0.8649, allocations: 2.822 MB / 0.6804 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/0.8666, allocations: 0.5151 MB / 0.6809 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.8795, allocations: 7.405 MB / 0.6881 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.346e-05/0.8795, allocations: 36 kB / 0.6881 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.567e-05/0.8796, allocations: 12 kB / 0.6882 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-05/0.8796, allocations: 17.03 kB / 0.6882 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02124/0.9009, allocations: 15.75 MB / 0.7035 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.9009, allocations: 8 kB / 0.7036 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.9021, allocations: 0.5146 MB / 0.7041 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002681/0.9048, allocations: 2.01 MB / 0.706 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001837/0.905, allocations: 67.98 kB / 0.7061 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/0.9151, allocations: 14.65 MB / 0.7204 GB, free: 90.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.9151, allocations: 7.938 kB / 0.7204 GB, free: 90.81 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009736/0.9248, allocations: 11.84 MB / 0.732 GB, free: 78.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001977/0.9268, allocations: 1.13 MB / 0.7331 GB, free: 77.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004121/0.9272, allocations: 67.98 kB / 0.7331 GB, free: 77.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/0.9288, allocations: 303.5 kB / 0.7334 GB, free: 77.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003874/0.9292, allocations: 217.4 kB / 0.7336 GB, free: 77.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/0.9293, allocations: 95.73 kB / 0.7337 GB, free: 77.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003701/0.933, allocations: 3.848 MB / 0.7375 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/0.933, allocations: 0 / 0.7375 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004604/0.9376, allocations: 1.736 MB / 0.7392 GB, free: 71.59 MB / 0.5105 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 (263): * Single equations (assignments): 258 * 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.009831/0.9475, allocations: 12.57 MB / 0.7514 GB, free: 58.85 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00829/0.9558, allocations: 8.289 MB / 0.7595 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.9558, allocations: 0 / 0.7595 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00427/0.96, allocations: 3.913 MB / 0.7634 GB, free: 46.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/0.9634, allocations: 0.722 MB / 0.7641 GB, free: 45.94 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2723/1.236, allocations: 71.74 MB / 0.8341 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004573/1.24, allocations: 3.913 MB / 0.8379 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005012/1.245, allocations: 2.538 MB / 0.8404 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003143/1.248, allocations: 2.845 MB / 0.8432 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.433e-06/1.248, allocations: 0 / 0.8432 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1206/1.369, allocations: 120.3 MB / 0.9607 GB, free: 45.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.68, allocations: 15.95 kB / 0.9607 GB, free: 45.76 MB / 0.5261 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.855512073263526] 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.824938234873116 13.834641666 13.561928012 Calling exit ...