Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001027/0.001027, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 225.4 MB / 240.1 MB, free: 15.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009141/0.0009141, allocations: 87.22 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1814/0.1814, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.32e-05, allocations: 8 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08847/0.08851, allocations: 63.25 MB / 0.5115 GB, free: 6.688 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3617/0.4502, allocations: 108.6 MB / 0.6175 GB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.4505, allocations: 82.02 kB / 0.6176 GB, free: 1.508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2754/0.7259, allocations: 116.5 MB / 0.7314 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7259, allocations: 0 / 0.7314 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002064/0.7261, allocations: 88 kB / 0.7315 GB, free: 4.523 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01236/0.7385, allocations: 4.342 MB / 0.7357 GB, free: 116 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.7386, allocations: 15.97 kB / 0.7357 GB, free: 100 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003364/0.7419, allocations: 0.911 MB / 0.7366 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01566/0.7576, allocations: 3.616 MB / 0.7401 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/0.7687, allocations: 4.089 MB / 0.7441 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000435/0.7692, allocations: 361.4 kB / 0.7445 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002299/0.7715, allocations: 487.7 kB / 0.745 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2646/1.036, allocations: 11.72 MB / 0.7564 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001401/1.036, allocations: 34.89 kB / 0.7564 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005962/1.037, allocations: 217.2 kB / 0.7566 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001688/1.039, allocations: 1.323 MB / 0.7579 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02238/1.061, allocations: 10.99 MB / 0.7687 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04972/1.111, allocations: 41.16 MB / 0.8089 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007557/1.118, allocations: 4.678 MB / 0.8134 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002559/1.121, allocations: 2.401 MB / 0.8158 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008923/1.122, allocations: 1.325 MB / 0.8171 GB, free: 99.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/1.122, allocations: 59.23 kB / 0.8171 GB, free: 99.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=249): time 4.458e-06/1.122, allocations: 0 / 0.8171 GB, free: 99.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=267): time 0.0321/1.154, allocations: 15.51 MB / 0.8323 GB, free: 94.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/1.154, allocations: 74.31 kB / 0.8323 GB, free: 94.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003135/1.157, allocations: 2.792 MB / 0.8351 GB, free: 93.85 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000176/1.157, allocations: 60.17 kB / 0.8351 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001131/1.159, allocations: 3.122 MB / 0.8382 GB, free: 91.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006277/1.159, allocations: 0.9639 MB / 0.8391 GB, free: 90.83 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/1.159, allocations: 122.4 kB / 0.8392 GB, free: 90.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000234/1.16, allocations: 0.564 MB / 0.8398 GB, free: 90.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002584/1.162, allocations: 2.385 MB / 0.8421 GB, free: 89.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003438/1.166, allocations: 5.625 MB / 0.8476 GB, free: 84.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003895/1.17, allocations: 3.705 MB / 0.8512 GB, free: 83.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.986e-05/1.17, allocations: 32.91 kB / 0.8513 GB, free: 83.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.0125/1.182, allocations: 8.832 MB / 0.8599 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.387e-05/1.182, allocations: 59.5 kB / 0.8599 GB, free: 77.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.459e-05/1.182, allocations: 119.9 kB / 0.86 GB, free: 77.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002657/1.185, allocations: 1.051 MB / 0.8611 GB, free: 76.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004095/1.189, allocations: 1.345 MB / 0.8624 GB, free: 75.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005708/1.195, allocations: 5.067 MB / 0.8673 GB, free: 70.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004493/1.199, allocations: 318.6 kB / 0.8676 GB, free: 70.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/1.2, allocations: 347.4 kB / 0.868 GB, free: 70.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 518 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,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.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (724): * Single equations (assignments): 717 * 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.0008793/1.201, allocations: 0.5425 MB / 0.8685 GB, free: 69.65 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000423/1.202, allocations: 308 kB / 0.8688 GB, free: 69.35 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007318/1.209, allocations: 5.317 MB / 0.874 GB, free: 64.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.364e-05/1.209, allocations: 47.42 kB / 0.874 GB, free: 64.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.209, allocations: 0 / 0.874 GB, free: 64.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/1.209, allocations: 15.44 kB / 0.874 GB, free: 64.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/1.226, allocations: 13.02 MB / 0.8868 GB, free: 54.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/1.226, allocations: 12 kB / 0.8868 GB, free: 54.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/1.227, allocations: 425 kB / 0.8872 GB, free: 53.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002436/1.23, allocations: 0.8855 MB / 0.888 GB, free: 53.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/1.23, allocations: 55.75 kB / 0.8881 GB, free: 53.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004673/1.235, allocations: 4.415 MB / 0.8924 GB, free: 49.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/1.235, allocations: 19.88 kB / 0.8924 GB, free: 49.15 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008863/1.243, allocations: 8.968 MB / 0.9012 GB, free: 40.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006845/1.244, allocations: 364.6 kB / 0.9015 GB, free: 40.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003106/1.244, allocations: 51.89 kB / 0.9016 GB, free: 40.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/1.246, allocations: 138.2 kB / 0.9017 GB, free: 40.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002824/1.246, allocations: 173.7 kB / 0.9019 GB, free: 40.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/1.246, allocations: 79.19 kB / 0.902 GB, free: 39.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002164/1.248, allocations: 1.909 MB / 0.9038 GB, free: 38.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/1.248, allocations: 0 / 0.9038 GB, free: 38.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003428/1.252, allocations: 1.095 MB / 0.9049 GB, free: 37.22 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 201 * 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.009984/1.262, allocations: 12.45 MB / 0.917 GB, free: 25.45 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006976/1.269, allocations: 5.86 MB / 0.9228 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.269, allocations: 0 / 0.9228 GB, free: 20.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002381/1.271, allocations: 2.224 MB / 0.9249 GB, free: 17.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/1.273, allocations: 409 kB / 0.9253 GB, free: 17.44 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/1.293, allocations: 11.09 MB / 0.9362 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00313/1.296, allocations: 3.816 MB / 0.9399 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004135/1.3, allocations: 2.157 MB / 0.942 GB, free: 220 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002628/1.303, allocations: 2.118 MB / 0.9441 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of SimCode: time 9.92e-07/1.303, allocations: 0 / 0.9441 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3577/1.661, allocations: 77.51 MB / 1.02 GB, free: 119.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/1.661, allocations: 164.5 kB / 1.02 GB, free: 119.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.393/5.054, allocations: 0 / 1.02 GB, free: 119.4 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat does not exist to compare? outputFormat=mat