Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.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.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Translational_AllComponents",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.001543/0.001543, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001091/0.001091, allocations: 82.72 kB / 267.5 MB, free: 14.05 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.2833/0.2832, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.919e-05/2.936e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1194, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4738/0.5933, allocations: 89.7 MB / 0.5605 GB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.5936, allocations: 70.55 kB / 0.5605 GB, free: 13.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05513/0.6488, allocations: 11.45 MB / 0.5717 GB, free: 4.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.6488, allocations: 0 / 0.5717 GB, free: 4.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.014e-05/0.6489, allocations: 20 kB / 0.5717 GB, free: 4.25 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00247/0.6514, allocations: 0.8395 MB / 0.5726 GB, free: 3.406 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.6515, allocations: 8.031 kB / 0.5726 GB, free: 3.398 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002155/0.6517, allocations: 97.45 kB / 0.5727 GB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.6519, allocations: 83 kB / 0.5727 GB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007408/0.6527, allocations: 361.6 kB / 0.5731 GB, free: 2.887 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.123e-05/0.6527, allocations: 42.5 kB / 0.5731 GB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.6529, allocations: 71.02 kB / 0.5732 GB, free: 2.812 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.6544, allocations: 0.5712 MB / 0.5738 GB, free: 2.379 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.633e-05/0.6545, allocations: 11.84 kB / 0.5738 GB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/0.6546, allocations: 25.38 kB / 0.5738 GB, free: 2.363 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.6546, allocations: 16 kB / 0.5738 GB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.656, allocations: 451.1 kB / 0.5742 GB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005542/0.6616, allocations: 2.204 MB / 0.5764 GB, free: 100 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.6634, allocations: 0.6464 MB / 0.577 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007391/0.6642, allocations: 303.2 kB / 0.5773 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002129/0.6644, allocations: 101.6 kB / 0.5774 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.6645, allocations: 54.02 kB / 0.5775 GB, free: 15.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 3.587e-06/0.6645, allocations: 0 / 0.5775 GB, free: 15.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.01131/0.6758, allocations: 4.107 MB / 0.5815 GB, free: 11.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.676, allocations: 221.6 kB / 0.5817 GB, free: 11.01 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005364/0.6765, allocations: 321.9 kB / 0.582 GB, free: 10.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-05/0.6766, allocations: 46.58 kB / 0.582 GB, free: 10.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.6769, allocations: 308 kB / 0.5823 GB, free: 10.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004262/0.6773, allocations: 409 kB / 0.5827 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.17e-05/0.6774, allocations: 21.06 kB / 0.5827 GB, free: 10.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.6776, allocations: 355.2 kB / 0.5831 GB, free: 9.766 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007677/0.6784, allocations: 269.6 kB / 0.5833 GB, free: 9.594 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009885/0.6794, allocations: 463.7 kB / 0.5838 GB, free: 9.184 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000939/0.6803, allocations: 336.5 kB / 0.5841 GB, free: 8.957 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.6804, allocations: 0 / 0.5841 GB, free: 8.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002283/0.6826, allocations: 0.8868 MB / 0.585 GB, free: 8.289 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.6827, allocations: 4.094 kB / 0.585 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.6827, allocations: 11.94 kB / 0.585 GB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.403e-05/0.6828, allocations: 8 kB / 0.585 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/0.6849, allocations: 290.2 kB / 0.5853 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.463e-05/0.6849, allocations: 16.25 kB / 0.5853 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008653/0.6858, allocations: 60.34 kB / 0.5853 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.686, allocations: 45.62 kB / 0.5854 GB, free: 7.898 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002579/0.6862, allocations: 170.4 kB / 0.5855 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.6865, allocations: 75.16 kB / 0.5856 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006298/0.6872, allocations: 212.1 kB / 0.5858 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.6872, allocations: 12 kB / 0.5858 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.6872, allocations: 0 / 0.5858 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/0.6873, allocations: 7.984 kB / 0.5858 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005469/0.6927, allocations: 2.286 MB / 0.5881 GB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.6928, allocations: 4 kB / 0.5881 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002266/0.6951, allocations: 266.9 kB / 0.5883 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-05/0.6952, allocations: 12 kB / 0.5883 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.6953, allocations: 29.48 kB / 0.5884 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.544e-05/0.6954, allocations: 8 kB / 0.5884 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/0.6954, allocations: 7.938 kB / 0.5884 GB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003462/0.6988, allocations: 1.943 MB / 0.5903 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004663/0.6994, allocations: 194.9 kB / 0.5905 GB, free: 3.414 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.6995, allocations: 29.67 kB / 0.5905 GB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.7005, allocations: 50.09 kB / 0.5905 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.7008, allocations: 91.41 kB / 0.5906 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-05/0.7009, allocations: 34.67 kB / 0.5907 GB, free: 3.262 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000409/0.7013, allocations: 238.3 kB / 0.5909 GB, free: 3.066 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7014, allocations: 192 / 0.5909 GB, free: 3.066 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001215/0.7026, allocations: 204.7 kB / 0.5911 GB, free: 2.898 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004363/0.707, allocations: 3.557 MB / 0.5945 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002089/0.7091, allocations: 0.7471 MB / 0.5953 GB, free: 15.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.7091, allocations: 4.125 kB / 0.5953 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.7104, allocations: 445.3 kB / 0.5957 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.7118, allocations: 113.2 kB / 0.5958 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006553/0.7184, allocations: 2.197 MB / 0.598 GB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008162/0.7193, allocations: 0.9554 MB / 0.5989 GB, free: 11.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007437/0.72, allocations: 271.4 kB / 0.5992 GB, free: 11.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.462e-06/0.7201, allocations: 0 / 0.5992 GB, free: 11.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.008/3.728, allocations: 11.58 MB / 0.6105 GB, free: 36 kB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat