Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.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) 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(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002184/0.002184, allocations: 192.5 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.688/1.688, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001026/0.001027, allocations: 91.56 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.306e-05/4.309e-05, allocations: 4 kB / 350.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1477, allocations: 51.48 MB / 402.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4581/0.606, allocations: 79.84 MB / 482 MB, free: 9.602 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.6062, allocations: 68.14 kB / 482 MB, free: 9.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02344/0.6297, allocations: 9.651 MB / 491.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.6298, allocations: 4 kB / 491.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.6298, allocations: 12 kB / 491.7 MB, free: 1.523 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001078/0.6309, allocations: 0.7236 MB / 492.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.6309, allocations: 8.031 kB / 492.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.25e-05/0.631, allocations: 87.2 kB / 492.5 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.6312, allocations: 67.33 kB / 492.6 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.6316, allocations: 315.2 kB / 492.9 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.077e-05/0.6316, allocations: 34.56 kB / 492.9 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.177e-05/0.6317, allocations: 48.5 kB / 493 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006471/0.6324, allocations: 403.6 kB / 493.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.6324, allocations: 7.906 kB / 493.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.6324, allocations: 16 kB / 493.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.6325, allocations: 12 kB / 493.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000638/0.6331, allocations: 371.9 kB / 493.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.6354, allocations: 1.39 MB / 495.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007055/0.6361, allocations: 499.2 kB / 495.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005598/0.6367, allocations: 328.4 kB / 496 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.714e-05/0.6367, allocations: 12.55 kB / 496 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.6368, allocations: 43.06 kB / 496 MB, free: 13.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=67): time 2.414e-06/0.6368, allocations: 0 / 496 MB, free: 13.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=103): time 0.005693/0.6425, allocations: 2.76 MB / 498.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.6426, allocations: 60.41 kB / 498.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.6428, allocations: 219.5 kB / 499 MB, free: 10.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/0.6428, allocations: 41.7 kB / 499.1 MB, free: 9.965 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.643, allocations: 193.2 kB / 499.3 MB, free: 9.773 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/0.6433, allocations: 354.8 kB / 499.6 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.6434, allocations: 19.94 kB / 499.6 MB, free: 9.402 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.6435, allocations: 366.8 kB / 0.4883 GB, free: 9.035 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.6439, allocations: 226 kB / 0.4885 GB, free: 8.812 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.6443, allocations: 297.5 kB / 0.4888 GB, free: 8.516 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.6447, allocations: 252.8 kB / 0.489 GB, free: 8.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6448, allocations: 4 kB / 0.489 GB, free: 8.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001104/0.6459, allocations: 0.6884 MB / 0.4897 GB, free: 7.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.6459, allocations: 8 kB / 0.4897 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.6459, allocations: 0 / 0.4897 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.6459, allocations: 7.953 kB / 0.4897 GB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008295/0.6468, allocations: 215.7 kB / 0.4899 GB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.6468, allocations: 4 kB / 0.4899 GB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.6472, allocations: 61.94 kB / 0.49 GB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.6472, allocations: 31.98 kB / 0.49 GB, free: 7.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0001717/0.6474, allocations: 144.9 kB / 0.4902 GB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.622e-05/0.6475, allocations: 59.34 kB / 0.4902 GB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.6477, allocations: 73.39 kB / 0.4903 GB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.6478, allocations: 19.89 kB / 0.4903 GB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.6478, allocations: 0 / 0.4903 GB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.6478, allocations: 3.984 kB / 0.4903 GB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.6505, allocations: 1.903 MB / 0.4922 GB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.6505, allocations: 4 kB / 0.4922 GB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008091/0.6513, allocations: 216.3 kB / 0.4924 GB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/0.6513, allocations: 12 kB / 0.4924 GB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-05/0.6514, allocations: 24 kB / 0.4924 GB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.316e-05/0.6514, allocations: 19.92 kB / 0.4924 GB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.6514, allocations: 7.953 kB / 0.4924 GB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.6532, allocations: 1.451 MB / 0.4938 GB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.6533, allocations: 128.4 kB / 0.494 GB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.369e-05/0.6534, allocations: 32.02 kB / 0.494 GB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/0.6538, allocations: 59.91 kB / 0.4941 GB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.654, allocations: 76.58 kB / 0.4941 GB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/0.6541, allocations: 35.98 kB / 0.4942 GB, free: 2.664 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001711/0.6542, allocations: 176.2 kB / 0.4943 GB, free: 2.496 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6542, allocations: 0 / 0.4943 GB, free: 2.496 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005543/0.6548, allocations: 156 kB / 0.4945 GB, free: 2.344 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.00263/0.6574, allocations: 3.335 MB / 0.4977 GB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.6585, allocations: 0.6318 MB / 0.4984 GB, free: 14.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6586, allocations: 0 / 0.4984 GB, free: 14.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005861/0.6591, allocations: 397.5 kB / 0.4987 GB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/0.6598, allocations: 96.23 kB / 0.4988 GB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.6623, allocations: 1.377 MB / 0.5002 GB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.6627, allocations: 0.8827 MB / 0.501 GB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00033/0.663, allocations: 76.92 kB / 0.5011 GB, free: 11.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.6634, allocations: 199.4 kB / 0.5013 GB, free: 11.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6634, allocations: 0 / 0.5013 GB, free: 11.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.6869, allocations: 10.51 MB / 0.5116 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.6871, allocations: 157.8 kB / 0.5117 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/3.057, allocations: 0 / 0.5117 GB, free: 0.6094 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat does not exist to compare? outputFormat=mat