Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009953/0.0009952, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 225.6 MB / 234.8 MB, free: 3.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007892/0.0007892, allocations: 99.81 kB / 286.7 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1784/0.1784, allocations: 45.14 MB / 383.8 MB, free: 228 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.304e-05/1.307e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 63.25 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3948/0.5038, allocations: 91.56 MB / 0.5939 GB, free: 10.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.504, allocations: 65.97 kB / 0.5939 GB, free: 10.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03249/0.5365, allocations: 11.64 MB / 0.6053 GB, free: 1.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5366, allocations: 3.938 kB / 0.6053 GB, free: 1.016 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.775e-05/0.5366, allocations: 12 kB / 0.6053 GB, free: 1.004 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.001413/0.538, allocations: 0.8501 MB / 0.6061 GB, free: 152 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.5381, allocations: 8.031 kB / 0.6061 GB, free: 144 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000658/0.5387, allocations: 159.2 kB / 0.6063 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/0.5392, allocations: 367.5 kB / 0.6066 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.5393, allocations: 16 kB / 0.6067 GB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.74e-05/0.5394, allocations: 43.59 kB / 0.6067 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006712/0.54, allocations: 409.1 kB / 0.6071 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007832/0.5408, allocations: 498.4 kB / 0.6076 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.5409, allocations: 11.89 kB / 0.6076 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.5409, allocations: 0 / 0.6076 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.5409, allocations: 16.22 kB / 0.6076 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002956/0.5439, allocations: 1.955 MB / 0.6095 GB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000838/0.5448, allocations: 0.5608 MB / 0.6101 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003984/0.5452, allocations: 266.8 kB / 0.6103 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.5453, allocations: 99.05 kB / 0.6104 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.5454, allocations: 57.69 kB / 0.6105 GB, free: 12.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 1.924e-06/0.5454, allocations: 0 / 0.6105 GB, free: 12.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.005005/0.5504, allocations: 3.538 MB / 0.6139 GB, free: 8.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.074e-05/0.5505, allocations: 170.7 kB / 0.6141 GB, free: 8.727 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.5508, allocations: 303.1 kB / 0.6144 GB, free: 8.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.5509, allocations: 25.7 kB / 0.6144 GB, free: 8.449 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.551, allocations: 265.4 kB / 0.6146 GB, free: 8.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/0.5513, allocations: 389.3 kB / 0.615 GB, free: 7.914 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.5514, allocations: 4 kB / 0.615 GB, free: 7.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.5516, allocations: 385.5 kB / 0.6154 GB, free: 7.555 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.5519, allocations: 240.7 kB / 0.6156 GB, free: 7.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.5524, allocations: 437.5 kB / 0.616 GB, free: 7.031 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004945/0.5529, allocations: 320 kB / 0.6163 GB, free: 6.824 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.553, allocations: 0 / 0.6163 GB, free: 6.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00119/0.5542, allocations: 0.813 MB / 0.6171 GB, free: 6.188 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.5542, allocations: 4 kB / 0.6171 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.5542, allocations: 12.14 kB / 0.6171 GB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.5542, allocations: 8 kB / 0.6172 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.5553, allocations: 290.4 kB / 0.6174 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.5553, allocations: 23.98 kB / 0.6175 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/0.5557, allocations: 35.97 kB / 0.6175 GB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.908e-05/0.5558, allocations: 39.61 kB / 0.6175 GB, free: 5.801 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 () * 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.0001748/0.556, allocations: 128.6 kB / 0.6176 GB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001131/0.5571, allocations: 0.6751 MB / 0.6183 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.5573, allocations: 75.16 kB / 0.6184 GB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/0.5577, allocations: 227.4 kB / 0.6186 GB, free: 4.914 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.5578, allocations: 12 kB / 0.6186 GB, free: 4.902 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5578, allocations: 0 / 0.6186 GB, free: 4.902 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.5578, allocations: 3.984 kB / 0.6186 GB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/0.5608, allocations: 2.158 MB / 0.6207 GB, free: 3.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.5608, allocations: 7.953 kB / 0.6207 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.5619, allocations: 259 kB / 0.621 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/0.5619, allocations: 8 kB / 0.621 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.562, allocations: 11.86 kB / 0.621 GB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.562, allocations: 8.375 kB / 0.621 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.269e-05/0.562, allocations: 4 kB / 0.621 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.5638, allocations: 1.706 MB / 0.6227 GB, free: 1.285 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/0.5641, allocations: 197.7 kB / 0.6229 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.981e-05/0.5642, allocations: 12.06 kB / 0.6229 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005053/0.5647, allocations: 35.97 kB / 0.6229 GB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.5649, allocations: 81.34 kB / 0.623 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.568e-05/0.5649, allocations: 38.86 kB / 0.623 GB, free: 0.957 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002214/0.5652, allocations: 228.3 kB / 0.6232 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5652, allocations: 3.938 kB / 0.6232 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007383/0.5659, allocations: 159.5 kB / 0.6234 GB, free: 0.6172 MB / 410.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.002434/0.5684, allocations: 3.155 MB / 0.6265 GB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.5695, allocations: 0.6894 MB / 0.6271 GB, free: 13.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5695, allocations: 0 / 0.6271 GB, free: 13.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005663/0.5701, allocations: 424.6 kB / 0.6276 GB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007757/0.5709, allocations: 84.64 kB / 0.6276 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.5744, allocations: 2.061 MB / 0.6296 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/0.575, allocations: 0.9601 MB / 0.6306 GB, free: 9.824 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004194/0.5754, allocations: 93.64 kB / 0.6307 GB, free: 9.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.5757, allocations: 257.8 kB / 0.6309 GB, free: 9.652 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5757, allocations: 4 kB / 0.6309 GB, free: 9.648 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03536/0.6111, allocations: 11.98 MB / 0.6426 GB, free: 13.76 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.6114, allocations: 129.1 kB / 0.6427 GB, free: 13.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/2.785, allocations: 4 kB / 0.6427 GB, free: 13.57 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat