Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00965/0.00965, allocations: 166.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.922/1.922, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002008/0.002007, allocations: 107.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4645/0.4645, allocations: 38.06 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005162, allocations: 15.98 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1199, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.5717, allocations: 93.05 MB / 0.4929 GB, free: 10.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/0.572, allocations: 81.33 kB / 0.493 GB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7853/1.357, allocations: 116.5 MB / 0.6068 GB, free: 79.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.737e-06/1.357, allocations: 0 / 0.6068 GB, free: 79.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002625/1.358, allocations: 97.39 kB / 0.6069 GB, free: 79.82 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1910 * Number of variables: 1910 Notification: Performance of Generate backend data structure: time 0.01946/1.377, allocations: 4.687 MB / 0.6115 GB, free: 77.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/1.377, allocations: 8.938 kB / 0.6115 GB, free: 77.77 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004042/1.381, allocations: 0.9607 MB / 0.6124 GB, free: 77.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02811/1.409, allocations: 3.655 MB / 0.616 GB, free: 77.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01834/1.428, allocations: 4.823 MB / 0.6207 GB, free: 76.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005274/1.428, allocations: 387.5 kB / 0.621 GB, free: 76.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003182/1.432, allocations: 491.7 kB / 0.6215 GB, free: 76.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04038/1.472, allocations: 12.2 MB / 0.6334 GB, free: 75.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003695/1.472, allocations: 36.52 kB / 0.6335 GB, free: 75.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003119/1.476, allocations: 222.1 kB / 0.6337 GB, free: 75.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003473/1.479, allocations: 1.397 MB / 0.635 GB, free: 75.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03258/1.512, allocations: 11.32 MB / 0.6461 GB, free: 73.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1422/1.654, allocations: 42.74 MB / 0.6878 GB, free: 47.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0324/1.686, allocations: 4.721 MB / 0.6924 GB, free: 45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006074/1.693, allocations: 1.32 MB / 0.6937 GB, free: 43.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.973e-05/1.693, allocations: 52.12 kB / 0.6938 GB, free: 43.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 9.237e-06/1.693, allocations: 0 / 0.6938 GB, free: 43.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=268): time 0.09893/1.792, allocations: 19.83 MB / 0.7131 GB, free: 28.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/1.792, allocations: 99.11 kB / 0.7132 GB, free: 28.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006909/1.799, allocations: 2.879 MB / 0.716 GB, free: 25.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006135/1.799, allocations: 66.98 kB / 0.7161 GB, free: 25.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002515/1.802, allocations: 3.259 MB / 0.7193 GB, free: 22.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00144/1.803, allocations: 0.9781 MB / 0.7202 GB, free: 21.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008389/1.804, allocations: 123.1 kB / 0.7204 GB, free: 21.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004627/1.805, allocations: 0.5657 MB / 0.7209 GB, free: 21.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006171/1.811, allocations: 2.453 MB / 0.7233 GB, free: 19.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008378/1.819, allocations: 5.806 MB / 0.729 GB, free: 12.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008548/1.828, allocations: 3.762 MB / 0.7327 GB, free: 8.328 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001084/1.828, allocations: 39.94 kB / 0.7327 GB, free: 8.289 MB / 426.7 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.3322/2.16, allocations: 9.052 MB / 0.7415 GB, free: 67.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/2.161, allocations: 56.12 kB / 0.7416 GB, free: 67.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002679/2.161, allocations: 118.5 kB / 0.7417 GB, free: 67.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006377/2.167, allocations: 1.061 MB / 0.7427 GB, free: 67.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009444/2.177, allocations: 1.382 MB / 0.7441 GB, free: 67.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/2.189, allocations: 5.231 MB / 0.7492 GB, free: 66.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007117/2.196, allocations: 324.5 kB / 0.7495 GB, free: 66.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001645/2.198, allocations: 346.8 kB / 0.7498 GB, free: 66.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 39 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (743): * Single equations (assignments): 736 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00808/2.206, allocations: 2.488 MB / 0.7523 GB, free: 66.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008971/2.207, allocations: 315.1 kB / 0.7526 GB, free: 66.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01673/2.224, allocations: 5.345 MB / 0.7578 GB, free: 66.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001335/2.224, allocations: 49.48 kB / 0.7578 GB, free: 66.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/2.224, allocations: 2.844 kB / 0.7578 GB, free: 66.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-05/2.224, allocations: 12.97 kB / 0.7578 GB, free: 66.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0386/2.263, allocations: 13.32 MB / 0.7709 GB, free: 65.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.846e-05/2.263, allocations: 10.19 kB / 0.7709 GB, free: 65.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003603/2.266, allocations: 418.2 kB / 0.7713 GB, free: 65.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005135/2.272, allocations: 0.891 MB / 0.7721 GB, free: 65.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006139/2.272, allocations: 50.25 kB / 0.7722 GB, free: 65.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/2.283, allocations: 4.569 MB / 0.7766 GB, free: 63.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-05/2.284, allocations: 19.22 kB / 0.7767 GB, free: 63.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02169/2.305, allocations: 9.088 MB / 0.7855 GB, free: 61.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002672/2.308, allocations: 0.7359 MB / 0.7863 GB, free: 61.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/2.309, allocations: 52.31 kB / 0.7863 GB, free: 61.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002991/2.312, allocations: 141.2 kB / 0.7864 GB, free: 61.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000768/2.313, allocations: 173.8 kB / 0.7866 GB, free: 61.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002719/2.313, allocations: 80.48 kB / 0.7867 GB, free: 61.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004863/2.318, allocations: 1.975 MB / 0.7886 GB, free: 60.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.92e-07/2.318, allocations: 0 / 0.7886 GB, free: 60.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007454/2.326, allocations: 1.118 MB / 0.7897 GB, free: 60.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (209): * Single equations (assignments): 202 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02118/2.347, allocations: 12.6 MB / 0.802 GB, free: 52.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01368/2.361, allocations: 6 MB / 0.8079 GB, free: 50.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.082e-05/2.361, allocations: 0 / 0.8079 GB, free: 50.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005335/2.366, allocations: 2.257 MB / 0.8101 GB, free: 50.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/2.369, allocations: 387.7 kB / 0.8104 GB, free: 49.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1325/2.502, allocations: 116.9 MB / 0.9246 GB, free: 10.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01066/2.513, allocations: 3.934 MB / 0.9284 GB, free: 7.766 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0096/2.522, allocations: 2.207 MB / 0.9306 GB, free: 6.355 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006064/2.528, allocations: 2.226 MB / 0.9328 GB, free: 4.289 MB / 490.7 MB Notification: Performance of SimCode: time 1.943e-06/2.528, allocations: 0 / 0.9328 GB, free: 4.289 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5171/3.046, allocations: 77.87 MB / 1.009 GB, free: 120.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003086/3.046, allocations: 200.3 kB / 1.009 GB, free: 120.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.123/8.169, allocations: 0 / 1.009 GB, free: 120.5 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar_res.mat does not exist to compare? outputFormat=mat