Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.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.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Prismatic",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.002486/0.002486, allocations: 182.6 kB / 16.4 MB, free: 5.723 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.961/1.961, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001175/0.001175, allocations: 90.97 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5384/0.5384, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004864, allocations: 12 kB / 431.5 MB, free: 6.051 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1294, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.494/0.6234, allocations: 101.9 MB / 0.5783 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/0.6238, allocations: 79.95 kB / 0.5784 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3827/1.006, allocations: 85.5 MB / 0.6619 GB, free: 10.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.507e-06/1.007, allocations: 4 kB / 0.6619 GB, free: 10.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002085/1.007, allocations: 75.94 kB / 0.662 GB, free: 10.29 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01461/1.021, allocations: 3.666 MB / 0.6656 GB, free: 6.551 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/1.021, allocations: 12.03 kB / 0.6656 GB, free: 6.539 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004006/1.026, allocations: 0.7753 MB / 0.6663 GB, free: 5.754 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02833/1.054, allocations: 3.504 MB / 0.6698 GB, free: 2.238 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3534/1.407, allocations: 4.209 MB / 0.6739 GB, free: 95.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005546/1.408, allocations: 297.7 kB / 0.6742 GB, free: 95.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002756/1.411, allocations: 392.8 kB / 0.6745 GB, free: 95.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03366/1.444, allocations: 9.96 MB / 0.6843 GB, free: 94.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003748/1.445, allocations: 30.33 kB / 0.6843 GB, free: 94.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002464/1.447, allocations: 179.8 kB / 0.6845 GB, free: 94.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00279/1.45, allocations: 1.167 MB / 0.6856 GB, free: 94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02702/1.477, allocations: 9.435 MB / 0.6948 GB, free: 93.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07065/1.548, allocations: 32.55 MB / 0.7266 GB, free: 76.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/1.558, allocations: 3.353 MB / 0.7299 GB, free: 74.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001665/1.56, allocations: 1.311 MB / 0.7312 GB, free: 73.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.751e-05/1.56, allocations: 49.12 kB / 0.7312 GB, free: 73.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=187): time 7.133e-06/1.56, allocations: 1.031 kB / 0.7312 GB, free: 73.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.03787/1.598, allocations: 10.3 MB / 0.7413 GB, free: 69.17 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/1.598, allocations: 94.83 kB / 0.7413 GB, free: 69.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005729/1.604, allocations: 2.368 MB / 0.7437 GB, free: 68.17 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003899/1.604, allocations: 59.11 kB / 0.7437 GB, free: 68.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002195/1.607, allocations: 2.728 MB / 0.7464 GB, free: 66.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/1.608, allocations: 0.72 MB / 0.7471 GB, free: 65.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006109/1.608, allocations: 96.5 kB / 0.7472 GB, free: 65.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004316/1.609, allocations: 0.5228 MB / 0.7477 GB, free: 65 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004096/1.613, allocations: 1.538 MB / 0.7492 GB, free: 64.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006266/1.619, allocations: 4.434 MB / 0.7535 GB, free: 60.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006111/1.625, allocations: 2.631 MB / 0.7561 GB, free: 59.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000109/1.626, allocations: 28.56 kB / 0.7561 GB, free: 59.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=656) (initialization): time 0.01493/1.641, allocations: 5.835 MB / 0.7618 GB, free: 57.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.005e-05/1.641, allocations: 50.5 kB / 0.7619 GB, free: 57.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001578/1.641, allocations: 105 kB / 0.762 GB, free: 57.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004852/1.641, allocations: 195.8 kB / 0.7621 GB, free: 57.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006702/1.648, allocations: 1.087 MB / 0.7632 GB, free: 56.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/1.65, allocations: 1.696 MB / 0.7649 GB, free: 55.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004493/1.655, allocations: 211.4 kB / 0.7651 GB, free: 55.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/1.656, allocations: 308.4 kB / 0.7654 GB, free: 55.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 467 * Number of states: 0 () * Number of discrete variables: 27 (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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (604): * Single equations (assignments): 597 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005164/1.661, allocations: 2.02 MB / 0.7673 GB, free: 54.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005731/1.662, allocations: 256.6 kB / 0.7676 GB, free: 54.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006501/1.668, allocations: 2.526 MB / 0.77 GB, free: 53.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.538e-05/1.668, allocations: 27.72 kB / 0.7701 GB, free: 53.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/1.668, allocations: 3.562 kB / 0.7701 GB, free: 53.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.14e-05/1.668, allocations: 11.17 kB / 0.7701 GB, free: 53.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02276/1.691, allocations: 8.18 MB / 0.7781 GB, free: 50.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.301e-05/1.691, allocations: 8.188 kB / 0.7781 GB, free: 50.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002162/1.693, allocations: 260.6 kB / 0.7783 GB, free: 50.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002752/1.694, allocations: 66.38 kB / 0.7784 GB, free: 50.35 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002848/1.694, allocations: 41.98 kB / 0.7784 GB, free: 50.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/1.696, allocations: 1.52 MB / 0.7799 GB, free: 48.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.527e-05/1.696, allocations: 15.34 kB / 0.7799 GB, free: 48.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008687/1.704, allocations: 4.908 MB / 0.7847 GB, free: 45.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/1.706, allocations: 0.5116 MB / 0.7852 GB, free: 45.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000665/1.707, allocations: 38.53 kB / 0.7853 GB, free: 45.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/1.709, allocations: 61.42 kB / 0.7853 GB, free: 45.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003712/1.709, allocations: 121.6 kB / 0.7854 GB, free: 45.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001707/1.709, allocations: 64.75 kB / 0.7855 GB, free: 45.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004044/1.713, allocations: 1.618 MB / 0.7871 GB, free: 44.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.713, allocations: 0 / 0.7871 GB, free: 44.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005954/1.719, allocations: 0.8246 MB / 0.7879 GB, free: 43.54 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (142): * Single equations (assignments): 135 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009571/1.729, allocations: 8.276 MB / 0.796 GB, free: 35.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009164/1.738, allocations: 3.851 MB / 0.7997 GB, free: 31.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-05/1.738, allocations: 12.19 kB / 0.7997 GB, free: 31.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002879/1.741, allocations: 1.237 MB / 0.8009 GB, free: 30.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/1.744, allocations: 305.7 kB / 0.8012 GB, free: 30.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4203/2.164, allocations: 96.11 MB / 0.8951 GB, free: 91.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007967/2.172, allocations: 3.288 MB / 0.8983 GB, free: 90.58 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004799/2.177, allocations: 1.8 MB / 0.9001 GB, free: 90.57 MB / 0.5105 GB Notification: Performance of SimCode: time 1.743e-06/2.177, allocations: 3.5 kB / 0.9001 GB, free: 90.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.967/6.143, allocations: 86.57 MB / 0.9846 GB, free: 65.16 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat