Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_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.00109/0.00109, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.676/1.676, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 86.62 kB / 261.8 MB, free: 1.68 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.2068/0.2068, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.423e-05/1.423e-05, allocations: 0 / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3898/0.4928, allocations: 89.03 MB / 0.553 GB, free: 6.066 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001712/0.493, allocations: 66.97 kB / 0.553 GB, free: 6.035 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02967/0.5227, allocations: 11.36 MB / 0.5641 GB, free: 12.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5227, allocations: 0 / 0.5641 GB, free: 12.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.362e-05/0.5228, allocations: 16 kB / 0.5641 GB, free: 12.71 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.001497/0.5243, allocations: 0.8381 MB / 0.5649 GB, free: 11.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.5243, allocations: 12.03 kB / 0.565 GB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.5245, allocations: 71.16 kB / 0.565 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005058/0.525, allocations: 368.1 kB / 0.5654 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.525, allocations: 24 kB / 0.5654 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-05/0.5251, allocations: 43.2 kB / 0.5654 GB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007327/0.5259, allocations: 410.4 kB / 0.5658 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008618/0.5268, allocations: 493.8 kB / 0.5663 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/0.5268, allocations: 7.906 kB / 0.5663 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.348e-05/0.5269, allocations: 4 kB / 0.5663 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.5269, allocations: 16 kB / 0.5663 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002927/0.5298, allocations: 1.961 MB / 0.5682 GB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008195/0.5306, allocations: 0.5457 MB / 0.5688 GB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.531, allocations: 270.2 kB / 0.569 GB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.5312, allocations: 97.47 kB / 0.5691 GB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.5312, allocations: 46.69 kB / 0.5692 GB, free: 8.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 2.756e-06/0.5312, allocations: 0 / 0.5692 GB, free: 8.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=115): time 0.005042/0.5363, allocations: 3.551 MB / 0.5726 GB, free: 4.727 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.648e-05/0.5364, allocations: 170.7 kB / 0.5728 GB, free: 4.523 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.5367, allocations: 299.1 kB / 0.5731 GB, free: 4.281 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/0.5368, allocations: 29.7 kB / 0.5731 GB, free: 4.246 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.5369, allocations: 262.5 kB / 0.5734 GB, free: 4.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000283/0.5372, allocations: 397.3 kB / 0.5737 GB, free: 3.707 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.5373, allocations: 0 / 0.5737 GB, free: 3.707 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.5375, allocations: 377.2 kB / 0.5741 GB, free: 3.359 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.5378, allocations: 247.1 kB / 0.5743 GB, free: 3.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005059/0.5383, allocations: 432.5 kB / 0.5748 GB, free: 2.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.5389, allocations: 311.4 kB / 0.5751 GB, free: 2.633 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.5389, allocations: 8 kB / 0.5751 GB, free: 2.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0012/0.5401, allocations: 0.8133 MB / 0.5759 GB, free: 1.988 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.5401, allocations: 11.44 kB / 0.5759 GB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5401, allocations: 4 kB / 0.5759 GB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.5402, allocations: 12.44 kB / 0.5759 GB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.5412, allocations: 298 kB / 0.5762 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.834e-05/0.5413, allocations: 12 kB / 0.5762 GB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/0.5417, allocations: 39.91 kB / 0.5762 GB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-05/0.5418, allocations: 43.17 kB / 0.5763 GB, free: 1.598 MB / 378.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.0001672/0.542, allocations: 132.2 kB / 0.5764 GB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001132/0.5431, allocations: 0.6844 MB / 0.577 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.5433, allocations: 67.34 kB / 0.5771 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004252/0.5437, allocations: 230.6 kB / 0.5773 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.5437, allocations: 12 kB / 0.5773 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.5437, allocations: 4 kB / 0.5773 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.5438, allocations: 7.969 kB / 0.5774 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/0.5467, allocations: 2.152 MB / 0.5795 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.5467, allocations: 3.938 kB / 0.5795 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.5478, allocations: 269.3 kB / 0.5797 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.632e-05/0.5478, allocations: 8 kB / 0.5797 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-05/0.5478, allocations: 15.23 kB / 0.5797 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.5479, allocations: 8 kB / 0.5797 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.5479, allocations: 4 kB / 0.5798 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.5497, allocations: 1.696 MB / 0.5814 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.55, allocations: 193.9 kB / 0.5816 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.5501, allocations: 11.5 kB / 0.5816 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005337/0.5506, allocations: 39.97 kB / 0.5816 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.5508, allocations: 78.03 kB / 0.5817 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/0.5509, allocations: 35.3 kB / 0.5817 GB, free: 12.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002111/0.5511, allocations: 226.5 kB / 0.582 GB, free: 12.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5511, allocations: 0 / 0.582 GB, free: 12.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007626/0.5519, allocations: 156 kB / 0.5821 GB, free: 12.41 MB / 394.7 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.002428/0.5543, allocations: 3.166 MB / 0.5852 GB, free: 9.484 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.5556, allocations: 0.6943 MB / 0.5859 GB, free: 8.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5556, allocations: 192 / 0.5859 GB, free: 8.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005775/0.5562, allocations: 417.4 kB / 0.5863 GB, free: 8.672 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000857/0.557, allocations: 84.55 kB / 0.5864 GB, free: 8.609 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.5606, allocations: 2.061 MB / 0.5884 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.5612, allocations: 0.9563 MB / 0.5893 GB, free: 5.621 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004427/0.5616, allocations: 105.6 kB / 0.5894 GB, free: 5.516 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.562, allocations: 253.7 kB / 0.5897 GB, free: 5.438 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.562, allocations: 0 / 0.5897 GB, free: 5.438 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03432/0.5963, allocations: 11.99 MB / 0.6014 GB, free: 9.484 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.5965, allocations: 142 kB / 0.6015 GB, free: 9.281 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/2.916, allocations: 0 / 0.6015 GB, free: 9.281 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat