Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.00146, allocations: 182.3 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 90.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2209/0.2209, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003647, allocations: 12 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1438, allocations: 58.86 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4909/0.6347, allocations: 106.2 MB / 0.5826 GB, free: 9.738 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.635, allocations: 76.05 kB / 0.5826 GB, free: 9.699 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3175/0.9525, allocations: 117.6 MB / 0.6975 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9526, allocations: 0 / 0.6975 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003299/0.9529, allocations: 88 kB / 0.6976 GB, free: 11.54 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01893/0.9718, allocations: 4.709 MB / 0.7022 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.9719, allocations: 12.03 kB / 0.7022 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006545/0.9785, allocations: 0.9562 MB / 0.7032 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01749/0.996, allocations: 3.651 MB / 0.7067 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3475/1.344, allocations: 4.831 MB / 0.7114 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005613/1.344, allocations: 383 kB / 0.7118 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003713/1.348, allocations: 0.4883 MB / 0.7123 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03935/1.387, allocations: 12.22 MB / 0.7242 GB, free: 112 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003067/1.388, allocations: 39.28 kB / 0.7243 GB, free: 112 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001341/1.389, allocations: 226 kB / 0.7245 GB, free: 112 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002427/1.391, allocations: 1.398 MB / 0.7258 GB, free: 112 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02346/1.415, allocations: 11.33 MB / 0.7369 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07181/1.487, allocations: 42.85 MB / 0.7787 GB, free: 88.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009647/1.496, allocations: 4.722 MB / 0.7834 GB, free: 86.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/1.498, allocations: 1.317 MB / 0.7846 GB, free: 85.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/1.498, allocations: 52.44 kB / 0.7847 GB, free: 85.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=250): time 8.867e-06/1.498, allocations: 3 kB / 0.7847 GB, free: 85.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=268): time 0.04402/1.542, allocations: 19.83 MB / 0.8041 GB, free: 78.42 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/1.542, allocations: 106.1 kB / 0.8042 GB, free: 78.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004813/1.547, allocations: 2.904 MB / 0.807 GB, free: 76.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/1.547, allocations: 63.11 kB / 0.8071 GB, free: 76.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001486/1.548, allocations: 3.27 MB / 0.8102 GB, free: 73.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008214/1.549, allocations: 0.9829 MB / 0.8112 GB, free: 72.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/1.55, allocations: 120 kB / 0.8113 GB, free: 72.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002766/1.55, allocations: 0.5614 MB / 0.8119 GB, free: 72.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002744/1.553, allocations: 2.461 MB / 0.8143 GB, free: 70.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003988/1.557, allocations: 5.825 MB / 0.82 GB, free: 63.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00405/1.561, allocations: 3.778 MB / 0.8237 GB, free: 59.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.672e-05/1.561, allocations: 32 kB / 0.8237 GB, free: 59.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=808) (initialization): time 0.01307/1.574, allocations: 9.082 MB / 0.8326 GB, free: 52.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-05/1.574, allocations: 58.66 kB / 0.8326 GB, free: 52.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/1.574, allocations: 116 kB / 0.8327 GB, free: 51.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002903/1.577, allocations: 1.07 MB / 0.8338 GB, free: 51.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004357/1.581, allocations: 1.381 MB / 0.8351 GB, free: 50.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006364/1.588, allocations: 5.243 MB / 0.8402 GB, free: 45.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004889/1.593, allocations: 321.1 kB / 0.8405 GB, free: 45.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009719/1.594, allocations: 363 kB / 0.8409 GB, free: 44.83 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * Number of states: 0 () * Number of discrete variables: 42 (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.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (746): * Single equations (assignments): 739 * 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.005004/1.599, allocations: 2.473 MB / 0.8433 GB, free: 42.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006214/1.599, allocations: 319.8 kB / 0.8436 GB, free: 42.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008016/1.607, allocations: 5.354 MB / 0.8488 GB, free: 37.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.185e-05/1.607, allocations: 51.69 kB / 0.8489 GB, free: 37.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/1.607, allocations: 4 kB / 0.8489 GB, free: 37.94 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/1.607, allocations: 11.58 kB / 0.8489 GB, free: 37.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02061/1.628, allocations: 13.33 MB / 0.8619 GB, free: 26.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/1.628, allocations: 15.95 kB / 0.8619 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/1.63, allocations: 421.8 kB / 0.8623 GB, free: 26.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002652/1.632, allocations: 0.894 MB / 0.8632 GB, free: 25.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002656/1.633, allocations: 53.97 kB / 0.8633 GB, free: 25.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005263/1.638, allocations: 4.571 MB / 0.8677 GB, free: 21.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.331e-05/1.638, allocations: 17.81 kB / 0.8677 GB, free: 21.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01183/1.65, allocations: 9.093 MB / 0.8766 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002185/1.652, allocations: 0.7351 MB / 0.8773 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004649/1.653, allocations: 55.89 kB / 0.8774 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/1.654, allocations: 139.8 kB / 0.8775 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/1.654, allocations: 169.5 kB / 0.8777 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/1.654, allocations: 83.61 kB / 0.8778 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002969/1.657, allocations: 1.994 MB / 0.8797 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.657, allocations: 3.938 kB / 0.8797 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005225/1.663, allocations: 1.123 MB / 0.8808 GB, free: 7.156 MB / 0.4948 GB 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.01294/1.676, allocations: 12.6 MB / 0.8931 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009808/1.685, allocations: 6.008 MB / 0.899 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/1.686, allocations: 0 / 0.899 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003507/1.689, allocations: 2.25 MB / 0.9012 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/1.691, allocations: 393.3 kB / 0.9016 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3787/2.07, allocations: 117.5 MB / 1.016 GB, free: 40.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006049/2.076, allocations: 3.937 MB / 1.02 GB, free: 39.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005321/2.082, allocations: 2.183 MB / 1.022 GB, free: 39.35 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00313/2.085, allocations: 2.24 MB / 1.024 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of SimCode: time 1.422e-06/2.085, allocations: 0 / 1.024 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1294/2.214, allocations: 78.19 MB / 1.101 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/2.214, allocations: 196.7 kB / 1.101 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.996/6.21, allocations: 0 / 1.101 GB, free: 2.656 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat does not exist to compare? outputFormat=mat