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.001177/0.001177, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008142/0.0008142, allocations: 85.92 kB / 292.1 MB, free: 5.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2034/0.2034, allocations: 45.16 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.145e-05, allocations: 4 kB / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 63.24 MB / 0.5114 GB, free: 6.715 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4178/0.5287, allocations: 92.24 MB / 0.6015 GB, free: 1.699 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.5289, allocations: 61.23 kB / 0.6016 GB, free: 1.672 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0331/0.562, allocations: 11.75 MB / 0.6131 GB, free: 7.781 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5621, allocations: 0 / 0.6131 GB, free: 7.781 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.4e-05/0.5621, allocations: 12 kB / 0.6131 GB, free: 7.77 MB / 410.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.001729/0.5639, allocations: 0.8479 MB / 0.6139 GB, free: 6.918 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.5639, allocations: 11.97 kB / 0.6139 GB, free: 6.906 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001966/0.5642, allocations: 106.6 kB / 0.614 GB, free: 6.828 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006956/0.5649, allocations: 159 kB / 0.6142 GB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005711/0.5654, allocations: 357.1 kB / 0.6145 GB, free: 6.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.637e-05/0.5655, allocations: 45.25 kB / 0.6145 GB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.5656, allocations: 68.84 kB / 0.6146 GB, free: 6.246 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009691/0.5666, allocations: 0.5708 MB / 0.6152 GB, free: 5.809 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-05/0.5667, allocations: 19.02 kB / 0.6152 GB, free: 5.793 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.955e-05/0.5667, allocations: 21.31 kB / 0.6152 GB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.5668, allocations: 16 kB / 0.6152 GB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007515/0.5675, allocations: 447.3 kB / 0.6156 GB, free: 5.461 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003179/0.5707, allocations: 2.207 MB / 0.6178 GB, free: 3.531 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009712/0.5717, allocations: 0.6499 MB / 0.6184 GB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005321/0.5722, allocations: 296.2 kB / 0.6187 GB, free: 2.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/0.5724, allocations: 92.73 kB / 0.6188 GB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.5725, allocations: 53.89 kB / 0.6189 GB, free: 2.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 3.106e-06/0.5725, allocations: 0 / 0.6189 GB, free: 2.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.007255/0.5798, allocations: 4.101 MB / 0.6229 GB, free: 14.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.5799, allocations: 221.6 kB / 0.6231 GB, free: 14.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.5803, allocations: 316.9 kB / 0.6234 GB, free: 14.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.767e-05/0.5803, allocations: 47.2 kB / 0.6234 GB, free: 14.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.5805, allocations: 270.2 kB / 0.6237 GB, free: 13.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.5808, allocations: 403.8 kB / 0.6241 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.5809, allocations: 27.88 kB / 0.6241 GB, free: 13.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.581, allocations: 377.6 kB / 0.6244 GB, free: 13.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004833/0.5815, allocations: 268.4 kB / 0.6247 GB, free: 13.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006095/0.5822, allocations: 466.8 kB / 0.6251 GB, free: 12.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005806/0.5827, allocations: 339.3 kB / 0.6255 GB, free: 12.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5828, allocations: 0 / 0.6255 GB, free: 12.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00149/0.5843, allocations: 0.9129 MB / 0.6264 GB, free: 11.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.5843, allocations: 12.08 kB / 0.6264 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.5843, allocations: 8 kB / 0.6264 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.5844, allocations: 8 kB / 0.6264 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.5855, allocations: 289.4 kB / 0.6267 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-05/0.5856, allocations: 15.94 kB / 0.6267 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.5861, allocations: 65.53 kB / 0.6267 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.371e-05/0.5862, allocations: 45.25 kB / 0.6268 GB, free: 11.34 MB / 426.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.0001797/0.5864, allocations: 171.1 kB / 0.627 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/0.5866, allocations: 75.16 kB / 0.627 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/0.5871, allocations: 208.1 kB / 0.6272 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.5871, allocations: 12 kB / 0.6272 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.5871, allocations: 4 kB / 0.6272 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.5872, allocations: 3.984 kB / 0.6272 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.5904, allocations: 2.286 MB / 0.6295 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.5904, allocations: 4 kB / 0.6295 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009729/0.5914, allocations: 262.4 kB / 0.6297 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.5914, allocations: 8 kB / 0.6297 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.215e-05/0.5914, allocations: 30.05 kB / 0.6298 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.5915, allocations: 8 kB / 0.6298 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5915, allocations: 7.938 kB / 0.6298 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.5933, allocations: 1.931 MB / 0.6317 GB, free: 7.059 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.5936, allocations: 204.1 kB / 0.6319 GB, free: 6.871 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-05/0.5937, allocations: 26.92 kB / 0.6319 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005467/0.5942, allocations: 47.34 kB / 0.6319 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.5944, allocations: 91.84 kB / 0.632 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.24e-05/0.5945, allocations: 35.83 kB / 0.6321 GB, free: 6.719 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002249/0.5947, allocations: 242.6 kB / 0.6323 GB, free: 6.527 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5947, allocations: 0 / 0.6323 GB, free: 6.527 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007275/0.5954, allocations: 202.2 kB / 0.6325 GB, free: 6.359 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 () * 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.002658/0.5981, allocations: 3.557 MB / 0.636 GB, free: 3.062 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.5993, allocations: 0.7533 MB / 0.6367 GB, free: 2.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5993, allocations: 0.875 kB / 0.6367 GB, free: 2.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006425/0.5999, allocations: 466.5 kB / 0.6371 GB, free: 2.152 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007918/0.6007, allocations: 104.5 kB / 0.6372 GB, free: 2.082 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.6043, allocations: 2.169 MB / 0.6393 GB, free: 20 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/0.6049, allocations: 0.9593 MB / 0.6403 GB, free: 15.04 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000441/0.6054, allocations: 97.64 kB / 0.6404 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/0.6057, allocations: 257.3 kB / 0.6406 GB, free: 14.86 MB / 442.7 MB Notification: Performance of SimCode: time 8.12e-07/0.6057, allocations: 0 / 0.6406 GB, free: 14.86 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.6318, allocations: 12.52 MB / 0.6528 GB, free: 2.52 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.632, allocations: 143.4 kB / 0.653 GB, free: 2.301 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/2.792, allocations: 3.938 kB / 0.653 GB, free: 2.297 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