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.001491/0.001491, allocations: 186.7 kB / 16.41 MB, free: 5.727 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.043/2.043, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001185/0.001184, allocations: 88.28 kB / 270.9 MB, free: 8.395 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.5548/0.5548, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007039/0.0007036, allocations: 16 kB / 431.5 MB, free: 6.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1574, allocations: 58.84 MB / 490.3 MB, free: 11.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5335/0.691, allocations: 89.78 MB / 0.5665 GB, free: 12.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.6913, allocations: 71.97 kB / 0.5666 GB, free: 12.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05625/0.7476, allocations: 11.48 MB / 0.5778 GB, free: 1.281 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.7476, allocations: 0 / 0.5778 GB, free: 1.281 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.231e-05/0.7477, allocations: 24 kB / 0.5778 GB, free: 1.258 MB / 394.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.002909/0.7506, allocations: 0.8886 MB / 0.5787 GB, free: 328 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.7507, allocations: 8.031 kB / 0.5787 GB, free: 320 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002539/0.751, allocations: 102.5 kB / 0.5788 GB, free: 208 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.7512, allocations: 75.16 kB / 0.5788 GB, free: 132 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008688/0.7521, allocations: 373.8 kB / 0.5792 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.116e-05/0.7522, allocations: 49.25 kB / 0.5792 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.7524, allocations: 67.81 kB / 0.5793 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.7545, allocations: 0.6265 MB / 0.5799 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.825e-05/0.7546, allocations: 15.84 kB / 0.5799 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.143e-05/0.7547, allocations: 24 kB / 0.5799 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.7547, allocations: 16 kB / 0.58 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.757, allocations: 0.5568 MB / 0.5805 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006057/0.7631, allocations: 2.198 MB / 0.5827 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.7656, allocations: 0.7188 MB / 0.5834 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002494/0.7659, allocations: 97.84 kB / 0.5835 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.1e-05/0.7659, allocations: 50.89 kB / 0.5835 GB, free: 11.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 4.077e-06/0.7659, allocations: 8 kB / 0.5835 GB, free: 11.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.01531/0.7813, allocations: 4.601 MB / 0.588 GB, free: 6.125 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/0.7815, allocations: 230.1 kB / 0.5882 GB, free: 5.852 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005837/0.7821, allocations: 309.2 kB / 0.5885 GB, free: 5.547 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.7822, allocations: 49.7 kB / 0.5886 GB, free: 5.492 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.7825, allocations: 311.4 kB / 0.5889 GB, free: 5.184 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004848/0.783, allocations: 410 kB / 0.5892 GB, free: 4.777 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.7831, allocations: 24 kB / 0.5893 GB, free: 4.754 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.7833, allocations: 354.7 kB / 0.5896 GB, free: 4.398 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.7846, allocations: 335.6 kB / 0.5899 GB, free: 4.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.7861, allocations: 0.521 MB / 0.5904 GB, free: 3.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.7876, allocations: 398.3 kB / 0.5908 GB, free: 3.094 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.7877, allocations: 4 kB / 0.5908 GB, free: 3.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003434/0.7911, allocations: 1.008 MB / 0.5918 GB, free: 2.074 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.7912, allocations: 8 kB / 0.5918 GB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.7912, allocations: 4 kB / 0.5918 GB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-05/0.7913, allocations: 12 kB / 0.5918 GB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/0.7936, allocations: 291.6 kB / 0.5921 GB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.5e-05/0.7937, allocations: 16.09 kB / 0.5921 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000955/0.7947, allocations: 60.03 kB / 0.5922 GB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.7949, allocations: 43.98 kB / 0.5922 GB, free: 1.648 MB / 410.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 () * Number of clocked 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.0005564/0.7954, allocations: 229.5 kB / 0.5924 GB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/0.7958, allocations: 75.16 kB / 0.5925 GB, free: 1.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007836/0.7966, allocations: 224.2 kB / 0.5927 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.7966, allocations: 12 kB / 0.5927 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/0.7966, allocations: 4 kB / 0.5927 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.7967, allocations: 7.969 kB / 0.5928 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006772/0.8035, allocations: 2.39 MB / 0.5951 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/0.8036, allocations: 0 / 0.5951 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/0.8059, allocations: 263.6 kB / 0.5953 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.618e-05/0.8059, allocations: 12 kB / 0.5953 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/0.8061, allocations: 32.2 kB / 0.5954 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.905e-05/0.8061, allocations: 11.94 kB / 0.5954 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.8061, allocations: 4 kB / 0.5954 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004996/0.8111, allocations: 2.128 MB / 0.5975 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005715/0.8118, allocations: 196.5 kB / 0.5977 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.8119, allocations: 27.98 kB / 0.5977 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.813, allocations: 47.97 kB / 0.5977 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/0.8133, allocations: 96.28 kB / 0.5978 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.821e-05/0.8134, allocations: 35.98 kB / 0.5979 GB, free: 11.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004381/0.8138, allocations: 247.2 kB / 0.5981 GB, free: 11.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.8138, allocations: 0 / 0.5981 GB, free: 11.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001319/0.8152, allocations: 200.1 kB / 0.5983 GB, free: 11.16 MB / 426.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 () * Number of clocked 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.005987/0.8212, allocations: 3.742 MB / 0.6019 GB, free: 7.309 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003169/0.8244, allocations: 0.8745 MB / 0.6028 GB, free: 6.434 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.639e-06/0.8245, allocations: 0 / 0.6028 GB, free: 6.434 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.8263, allocations: 0.5032 MB / 0.6033 GB, free: 5.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.8279, allocations: 103.3 kB / 0.6034 GB, free: 5.828 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/0.8437, allocations: 8.411 MB / 0.6116 GB, free: 13.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008129/0.8446, allocations: 0.9646 MB / 0.6125 GB, free: 12.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008156/0.8454, allocations: 263.3 kB / 0.6128 GB, free: 11.96 MB / 442.7 MB Notification: Performance of SimCode: time 7.494e-06/0.8454, allocations: 0 / 0.6128 GB, free: 11.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.781/3.627, allocations: 11.4 MB / 0.6239 GB, free: 0.5625 MB / 442.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