Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_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.001091/0.001091, allocations: 183 kB / 13.19 MB, free: 2.129 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.674/1.674, allocations: 205.2 MB / 218.9 MB, free: 9.148 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.00105/0.00105, allocations: 88.41 kB / 267.1 MB, free: 9.27 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.4341/0.4341, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.182e-05/3.193e-05, allocations: 4 kB / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1395, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4134/0.5531, allocations: 101.8 MB / 0.5723 GB, free: 3.988 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.5533, allocations: 72.69 kB / 0.5724 GB, free: 3.953 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.221/0.7743, allocations: 85.58 MB / 0.656 GB, free: 7.031 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.7743, allocations: 0 / 0.656 GB, free: 7.031 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001821/0.7745, allocations: 75.98 kB / 0.6561 GB, free: 6.957 MB / 474.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.01259/0.7871, allocations: 3.518 MB / 0.6595 GB, free: 3.375 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.202e-05/0.7872, allocations: 12.03 kB / 0.6595 GB, free: 3.363 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003729/0.791, allocations: 0.7831 MB / 0.6603 GB, free: 2.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0158/0.8068, allocations: 3.508 MB / 0.6637 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01212/0.8189, allocations: 4.198 MB / 0.6678 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/0.8193, allocations: 297.1 kB / 0.6681 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002403/0.8217, allocations: 395.8 kB / 0.6685 GB, free: 10.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02737/0.8491, allocations: 9.878 MB / 0.6781 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000187/0.8494, allocations: 27.66 kB / 0.6781 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001946/0.8513, allocations: 179.9 kB / 0.6783 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001941/0.8533, allocations: 1.164 MB / 0.6794 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02195/0.8753, allocations: 9.285 MB / 0.6885 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.401/1.276, allocations: 32.54 MB / 0.7203 GB, free: 90.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005454/1.282, allocations: 3.331 MB / 0.7235 GB, free: 89.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/1.283, allocations: 1.06 MB / 0.7246 GB, free: 89.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/1.284, allocations: 1.312 MB / 0.7259 GB, free: 88.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/1.284, allocations: 44.16 kB / 0.7259 GB, free: 88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=187): time 6.121e-06/1.284, allocations: 2.5 kB / 0.7259 GB, free: 88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=193): time 0.01816/1.303, allocations: 8.704 MB / 0.7344 GB, free: 86.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/1.303, allocations: 98.17 kB / 0.7345 GB, free: 86.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003528/1.306, allocations: 2.348 MB / 0.7368 GB, free: 85.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001774/1.306, allocations: 57.67 kB / 0.7368 GB, free: 85.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001485/1.308, allocations: 2.739 MB / 0.7395 GB, free: 84.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000553/1.308, allocations: 0.7125 MB / 0.7402 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/1.309, allocations: 96.64 kB / 0.7403 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002286/1.309, allocations: 0.5171 MB / 0.7408 GB, free: 83.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/1.311, allocations: 1.504 MB / 0.7423 GB, free: 83.72 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003374/1.314, allocations: 4.396 MB / 0.7466 GB, free: 79.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003808/1.318, allocations: 2.633 MB / 0.7491 GB, free: 79.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-05/1.318, allocations: 31.56 kB / 0.7492 GB, free: 79.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=656) (initialization): time 0.01028/1.328, allocations: 5.816 MB / 0.7549 GB, free: 79.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-05/1.328, allocations: 48.12 kB / 0.7549 GB, free: 79.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001799/1.329, allocations: 107.8 kB / 0.755 GB, free: 79.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000434/1.329, allocations: 194.3 kB / 0.7552 GB, free: 79.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003806/1.333, allocations: 1.092 MB / 0.7563 GB, free: 79.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/1.334, allocations: 1.676 MB / 0.7579 GB, free: 77.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003582/1.338, allocations: 215.6 kB / 0.7581 GB, free: 77.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006763/1.339, allocations: 299.5 kB / 0.7584 GB, free: 77.49 MB / 0.4948 GB 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 () * 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.000744/1.339, allocations: 485.4 kB / 0.7588 GB, free: 77.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004838/1.34, allocations: 252.2 kB / 0.7591 GB, free: 76.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/1.344, allocations: 2.505 MB / 0.7615 GB, free: 76.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.547e-05/1.344, allocations: 21.78 kB / 0.7616 GB, free: 76.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/1.344, allocations: 5.281 kB / 0.7616 GB, free: 76.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/1.344, allocations: 10.7 kB / 0.7616 GB, free: 76.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/1.361, allocations: 8.155 MB / 0.7695 GB, free: 73.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/1.361, allocations: 10.06 kB / 0.7695 GB, free: 73.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/1.362, allocations: 259 kB / 0.7698 GB, free: 73.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001737/1.362, allocations: 59.77 kB / 0.7698 GB, free: 73.04 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/1.362, allocations: 53.97 kB / 0.7699 GB, free: 73.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/1.363, allocations: 1.494 MB / 0.7714 GB, free: 71.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/1.363, allocations: 19.91 kB / 0.7714 GB, free: 71.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005366/1.369, allocations: 4.87 MB / 0.7761 GB, free: 68.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001328/1.37, allocations: 0.5081 MB / 0.7766 GB, free: 68.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/1.37, allocations: 34.39 kB / 0.7767 GB, free: 68.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008309/1.371, allocations: 57.98 kB / 0.7767 GB, free: 68.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/1.371, allocations: 124 kB / 0.7768 GB, free: 68.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/1.372, allocations: 74.52 kB / 0.7769 GB, free: 68.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002443/1.374, allocations: 1.588 MB / 0.7785 GB, free: 67.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/1.374, allocations: 0 / 0.7785 GB, free: 67.76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004715/1.379, allocations: 0.8232 MB / 0.7793 GB, free: 67.66 MB / 0.4948 GB 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 () * 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.006138/1.385, allocations: 8.238 MB / 0.7873 GB, free: 61.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005977/1.391, allocations: 3.809 MB / 0.791 GB, free: 60.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/1.391, allocations: 3.938 kB / 0.791 GB, free: 60.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001655/1.393, allocations: 1.223 MB / 0.7922 GB, free: 59.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/1.395, allocations: 315.2 kB / 0.7925 GB, free: 59.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02141/1.416, allocations: 8.466 MB / 0.8008 GB, free: 56.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004677/1.421, allocations: 3.284 MB / 0.804 GB, free: 55.31 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004637/1.425, allocations: 1.729 MB / 0.8057 GB, free: 55.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002915/1.428, allocations: 1.765 MB / 0.8074 GB, free: 53.71 MB / 0.4948 GB Notification: Performance of SimCode: time 1.924e-06/1.428, allocations: 0 / 0.8074 GB, free: 53.71 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09444/1.523, allocations: 57.28 MB / 0.8633 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/1.523, allocations: 171.7 kB / 0.8635 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.997/5.521, allocations: 0 / 0.8635 GB, free: 12.79 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat