Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 179 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.705/1.705, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009015/0.0009015, allocations: 87.81 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.235/0.235, allocations: 44.14 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.55e-05, allocations: 4.156 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1517, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4723/0.624, allocations: 107.7 MB / 0.607 GB, free: 13.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.6243, allocations: 75.91 kB / 0.607 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6703/1.295, allocations: 115.7 MB / 0.72 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 6.582e-06/1.295, allocations: 0.9062 kB / 0.72 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003889/1.295, allocations: 88.12 kB / 0.7201 GB, free: 122.5 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.02432/1.319, allocations: 4.322 MB / 0.7244 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/1.32, allocations: 9.25 kB / 0.7244 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005364/1.325, allocations: 0.9191 MB / 0.7253 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0271/1.352, allocations: 3.617 MB / 0.7288 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02199/1.374, allocations: 4.601 MB / 0.7333 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007742/1.375, allocations: 371.5 kB / 0.7336 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004067/1.379, allocations: 479.5 kB / 0.7341 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03536/1.414, allocations: 11.73 MB / 0.7456 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004012/1.415, allocations: 36.19 kB / 0.7456 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00288/1.418, allocations: 213.3 kB / 0.7458 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002054/1.42, allocations: 1.321 MB / 0.7471 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02237/1.442, allocations: 10.99 MB / 0.7578 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06651/1.509, allocations: 41.15 MB / 0.798 GB, free: 93.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009136/1.518, allocations: 4.669 MB / 0.8026 GB, free: 91.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003304/1.521, allocations: 2.418 MB / 0.8049 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/1.522, allocations: 1.325 MB / 0.8062 GB, free: 88.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/1.523, allocations: 54.83 kB / 0.8063 GB, free: 88.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=249): time 6.232e-06/1.523, allocations: 0 / 0.8063 GB, free: 88.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=267): time 0.03669/1.559, allocations: 15.5 MB / 0.8214 GB, free: 76.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/1.559, allocations: 77.3 kB / 0.8215 GB, free: 76.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004791/1.564, allocations: 2.796 MB / 0.8242 GB, free: 74.22 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000222/1.564, allocations: 59.48 kB / 0.8243 GB, free: 74.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001732/1.566, allocations: 3.124 MB / 0.8273 GB, free: 71.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008469/1.567, allocations: 0.9698 MB / 0.8283 GB, free: 70.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004202/1.567, allocations: 116 kB / 0.8284 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004268/1.568, allocations: 0.5623 MB / 0.8289 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00312/1.571, allocations: 2.384 MB / 0.8312 GB, free: 67.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004794/1.576, allocations: 5.629 MB / 0.8367 GB, free: 60.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004852/1.581, allocations: 3.706 MB / 0.8404 GB, free: 57.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001111/1.581, allocations: 32 kB / 0.8404 GB, free: 57.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01399/1.595, allocations: 8.822 MB / 0.849 GB, free: 50.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.595, allocations: 57.34 kB / 0.8491 GB, free: 50.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001947/1.595, allocations: 116 kB / 0.8492 GB, free: 49.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00307/1.598, allocations: 1.067 MB / 0.8502 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004195/1.602, allocations: 1.34 MB / 0.8515 GB, free: 48.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006275/1.609, allocations: 5.064 MB / 0.8565 GB, free: 43.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004458/1.613, allocations: 328.1 kB / 0.8568 GB, free: 43.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/1.614, allocations: 341.8 kB / 0.8571 GB, free: 42.98 MB / 0.5105 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.001694/1.616, allocations: 0.5421 MB / 0.8576 GB, free: 42.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008466/1.617, allocations: 319.8 kB / 0.8579 GB, free: 42.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009642/1.627, allocations: 5.299 MB / 0.8631 GB, free: 37.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.408e-05/1.627, allocations: 47.98 kB / 0.8632 GB, free: 37.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/1.627, allocations: 4 kB / 0.8632 GB, free: 37.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/1.627, allocations: 15.95 kB / 0.8632 GB, free: 37.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02529/1.652, allocations: 13.03 MB / 0.8759 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.155e-05/1.652, allocations: 16.98 kB / 0.8759 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/1.654, allocations: 427.3 kB / 0.8763 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00266/1.657, allocations: 0.8824 MB / 0.8772 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004269/1.657, allocations: 55.98 kB / 0.8772 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00555/1.663, allocations: 4.414 MB / 0.8815 GB, free: 18.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/1.663, allocations: 19.94 kB / 0.8816 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/1.676, allocations: 8.957 MB / 0.8903 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/1.678, allocations: 369 kB / 0.8907 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001223/1.679, allocations: 51.98 kB / 0.8907 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002682/1.682, allocations: 147.7 kB / 0.8909 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005679/1.682, allocations: 169.5 kB / 0.891 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003065/1.682, allocations: 75.98 kB / 0.8911 GB, free: 8.102 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004396/1.687, allocations: 1.911 MB / 0.893 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.71e-07/1.687, allocations: 4 kB / 0.893 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006688/1.694, allocations: 1.094 MB / 0.894 GB, free: 5.094 MB / 0.5105 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.01548/1.709, allocations: 12.44 MB / 0.9062 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01139/1.721, allocations: 5.864 MB / 0.9119 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/1.721, allocations: 8.062 kB / 0.9119 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004281/1.725, allocations: 2.229 MB / 0.9141 GB, free: 152 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3368/2.062, allocations: 390.2 kB / 0.9145 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03071/2.093, allocations: 11.1 MB / 0.9253 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004966/2.098, allocations: 3.812 MB / 0.929 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005771/2.103, allocations: 2.155 MB / 0.9311 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002617/2.106, allocations: 2.114 MB / 0.9332 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.523e-06/2.106, allocations: 0 / 0.9332 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/2.219, allocations: 77.54 MB / 1.009 GB, free: 97.31 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001323/2.219, allocations: 167.9 kB / 1.009 GB, free: 97.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.49/6.709, allocations: 3.938 kB / 1.009 GB, free: 97.08 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.mat does not exist to compare? outputFormat=mat