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.002169/0.002168, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 95.8 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3741/0.3741, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.418e-05/1.428e-05, allocations: 224 / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5179/0.5179, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2344/0.7524, allocations: 89.03 MB / 0.5529 GB, free: 10.16 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.7528, allocations: 63.97 kB / 0.553 GB, free: 10.1 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05616/0.8089, allocations: 11.36 MB / 0.5641 GB, free: 14.69 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.809, allocations: 0 / 0.5641 GB, free: 14.69 MB / 411.1 MB Notification: Performance of Transformations before backend: time 5.294e-05/0.8091, allocations: 16 kB / 0.5641 GB, free: 14.67 MB / 411.1 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.002569/0.8116, allocations: 0.8385 MB / 0.5649 GB, free: 13.79 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.218e-05/0.8117, allocations: 12.03 kB / 0.5649 GB, free: 13.78 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.812, allocations: 75.06 kB / 0.565 GB, free: 13.7 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007817/0.8127, allocations: 363.3 kB / 0.5653 GB, free: 13.3 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.465e-05/0.8128, allocations: 24 kB / 0.5654 GB, free: 13.28 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.813, allocations: 43.91 kB / 0.5654 GB, free: 13.24 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001281/0.8143, allocations: 414.4 kB / 0.5658 GB, free: 12.83 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.8156, allocations: 493.6 kB / 0.5663 GB, free: 12.33 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.528e-05/0.8157, allocations: 11.84 kB / 0.5663 GB, free: 12.32 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.577e-05/0.8157, allocations: 4 kB / 0.5663 GB, free: 12.31 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.8158, allocations: 12 kB / 0.5663 GB, free: 12.3 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005511/0.8213, allocations: 1.953 MB / 0.5682 GB, free: 10.25 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.823, allocations: 0.5544 MB / 0.5688 GB, free: 9.648 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.8241, allocations: 265.9 kB / 0.569 GB, free: 9.371 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002846/0.8244, allocations: 93.69 kB / 0.5691 GB, free: 9.262 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.274e-05/0.8245, allocations: 46.94 kB / 0.5691 GB, free: 9.207 MB / 411.1 MB Notification: Performance of pre-optimization done (n=82): time 6.071e-06/0.8245, allocations: 0 / 0.5691 GB, free: 9.207 MB / 411.1 MB Notification: Performance of matching and sorting (n=115): time 0.009569/0.8341, allocations: 3.57 MB / 0.5726 GB, free: 5.289 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.8343, allocations: 166.8 kB / 0.5728 GB, free: 5.09 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005617/0.8349, allocations: 293.2 kB / 0.5731 GB, free: 4.801 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.835, allocations: 29.7 kB / 0.5731 GB, free: 4.766 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.8353, allocations: 307.4 kB / 0.5734 GB, free: 4.461 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004683/0.8357, allocations: 394.1 kB / 0.5738 GB, free: 4.07 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.8358, allocations: 0 / 0.5738 GB, free: 4.07 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.836, allocations: 354.8 kB / 0.5741 GB, free: 3.715 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007211/0.8368, allocations: 242.6 kB / 0.5743 GB, free: 3.477 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009014/0.8377, allocations: 434.6 kB / 0.5747 GB, free: 2.992 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009695/0.8387, allocations: 324.4 kB / 0.5751 GB, free: 2.672 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.8387, allocations: 4 kB / 0.5751 GB, free: 2.668 MB / 411.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002252/0.841, allocations: 0.7766 MB / 0.5758 GB, free: 1.883 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.841, allocations: 11.98 kB / 0.5758 GB, free: 1.871 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.8411, allocations: 4.469 kB / 0.5758 GB, free: 1.867 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.254e-05/0.8411, allocations: 12 kB / 0.5758 GB, free: 1.855 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.8433, allocations: 292 kB / 0.5761 GB, free: 1.57 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.7e-05/0.8433, allocations: 11.94 kB / 0.5761 GB, free: 1.559 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008932/0.8442, allocations: 39.97 kB / 0.5762 GB, free: 1.52 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.8444, allocations: 47.92 kB / 0.5762 GB, free: 1.473 MB / 411.1 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.0002732/0.8447, allocations: 132.6 kB / 0.5763 GB, free: 1.336 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002117/0.8468, allocations: 0.6775 MB / 0.577 GB, free: 0.6523 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/0.8471, allocations: 71.16 kB / 0.5771 GB, free: 0.582 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007386/0.8478, allocations: 219.7 kB / 0.5773 GB, free: 364 kB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.481e-05/0.8479, allocations: 12 kB / 0.5773 GB, free: 352 kB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.8479, allocations: 4 kB / 0.5773 GB, free: 348 kB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/0.8479, allocations: 11.92 kB / 0.5773 GB, free: 336 kB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00548/0.8534, allocations: 2.161 MB / 0.5794 GB, free: 14.08 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.8535, allocations: 4 kB / 0.5794 GB, free: 14.07 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002212/0.8557, allocations: 263.7 kB / 0.5797 GB, free: 13.82 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.503e-05/0.8558, allocations: 12.28 kB / 0.5797 GB, free: 13.8 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.259e-05/0.8559, allocations: 15.98 kB / 0.5797 GB, free: 13.79 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.361e-05/0.8559, allocations: 8 kB / 0.5797 GB, free: 13.78 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/0.8559, allocations: 7.938 kB / 0.5797 GB, free: 13.77 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/0.8594, allocations: 1.694 MB / 0.5814 GB, free: 11.96 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005149/0.86, allocations: 200.2 kB / 0.5816 GB, free: 11.74 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.8601, allocations: 4 kB / 0.5816 GB, free: 11.74 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009366/0.8611, allocations: 31.97 kB / 0.5816 GB, free: 11.71 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/0.8613, allocations: 92.34 kB / 0.5817 GB, free: 11.61 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-05/0.8614, allocations: 36.27 kB / 0.5817 GB, free: 11.58 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0003758/0.8618, allocations: 227 kB / 0.5819 GB, free: 11.36 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8618, allocations: 0 / 0.5819 GB, free: 11.36 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001196/0.863, allocations: 159.9 kB / 0.5821 GB, free: 11.2 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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.004213/0.8673, allocations: 3.161 MB / 0.5852 GB, free: 7.941 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001984/0.8693, allocations: 0.6867 MB / 0.5858 GB, free: 7.25 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/0.8694, allocations: 4 kB / 0.5859 GB, free: 7.246 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.8705, allocations: 417.7 kB / 0.5862 GB, free: 6.836 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.8719, allocations: 83.05 kB / 0.5863 GB, free: 6.762 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00632/0.8782, allocations: 2.094 MB / 0.5884 GB, free: 4.574 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007789/0.8791, allocations: 0.9525 MB / 0.5893 GB, free: 3.594 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007203/0.8798, allocations: 267.3 kB / 0.5896 GB, free: 3.332 MB / 427.1 MB Notification: Performance of SimCode: time 9.92e-07/0.8798, allocations: 4 kB / 0.5896 GB, free: 3.328 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.876/3.756, allocations: 11.55 MB / 0.6008 GB, free: 7.77 MB / 443.1 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