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.001615/0.001615, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.552/1.552, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009923/0.0009923, allocations: 98.22 kB / 286.7 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.007e-05/2.011e-05, allocations: 4 kB / 343.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.135, allocations: 51.48 MB / 395.3 MB, free: 4.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4703/0.6053, allocations: 79.18 MB / 474.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.6056, allocations: 73.16 kB / 474.5 MB, free: 12.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02381/0.6294, allocations: 9.576 MB / 484.1 MB, free: 5.801 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6295, allocations: 0 / 484.1 MB, free: 5.801 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.322e-05/0.6295, allocations: 8 kB / 484.1 MB, free: 5.793 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.001183/0.6307, allocations: 0.7223 MB / 484.8 MB, free: 5.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.6308, allocations: 8.031 kB / 484.8 MB, free: 5.051 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.631, allocations: 71.33 kB / 484.9 MB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.6314, allocations: 318.1 kB / 485.2 MB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.6314, allocations: 19.19 kB / 485.2 MB, free: 4.648 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.804e-05/0.6315, allocations: 28 kB / 485.2 MB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005381/0.6321, allocations: 348 kB / 485.6 MB, free: 4.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.6326, allocations: 337 kB / 485.9 MB, free: 4.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.6326, allocations: 4 kB / 485.9 MB, free: 4.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.6327, allocations: 0 / 485.9 MB, free: 4.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.6327, allocations: 12 kB / 485.9 MB, free: 4.133 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.6346, allocations: 1.305 MB / 487.2 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005265/0.6351, allocations: 470.6 kB / 487.7 MB, free: 2.832 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.6356, allocations: 306 kB / 488 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/0.6357, allocations: 20.48 kB / 488 MB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.6357, allocations: 38.12 kB / 488.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 1.793e-06/0.6357, allocations: 3.938 kB / 488.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.003421/0.6391, allocations: 2.206 MB / 490.3 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.6392, allocations: 72.66 kB / 490.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.6394, allocations: 200.7 kB / 490.5 MB, free: 484 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.418e-05/0.6395, allocations: 25.7 kB / 490.6 MB, free: 452 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.6396, allocations: 191 kB / 490.7 MB, free: 292 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.6398, allocations: 335.5 kB / 491.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.6399, allocations: 0 / 491.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.6401, allocations: 361.2 kB / 491.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.6404, allocations: 206.4 kB / 491.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/0.6408, allocations: 278.7 kB / 491.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.6412, allocations: 243.5 kB / 492.1 MB, free: 15.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.6412, allocations: 0 / 492.1 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0009981/0.6422, allocations: 0.6323 MB / 492.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.6423, allocations: 4 kB / 492.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.6423, allocations: 0 / 492.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.6423, allocations: 4 kB / 492.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008537/0.6432, allocations: 223 kB / 493 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.6432, allocations: 7.984 kB / 493 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.6436, allocations: 47.92 kB / 493 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.896e-05/0.6437, allocations: 31.42 kB / 493.1 MB, free: 14.43 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.0001608/0.6438, allocations: 112.8 kB / 493.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009177/0.6448, allocations: 0.589 MB / 493.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.038e-05/0.6449, allocations: 51.44 kB / 493.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.645, allocations: 64.47 kB / 493.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.6451, allocations: 8 kB / 493.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.6451, allocations: 3.953 kB / 493.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.6451, allocations: 7.984 kB / 493.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/0.6478, allocations: 1.747 MB / 495.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.6478, allocations: 7.188 kB / 495.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008576/0.6487, allocations: 210.8 kB / 495.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/0.6487, allocations: 12.28 kB / 495.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/0.6488, allocations: 15.98 kB / 495.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/0.6488, allocations: 8 kB / 495.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.6488, allocations: 7.938 kB / 495.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.6506, allocations: 1.386 MB / 497.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.6508, allocations: 132.3 kB / 497.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.991e-05/0.6509, allocations: 8 kB / 497.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.6513, allocations: 51.91 kB / 497.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.6514, allocations: 71.95 kB / 497.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.266e-05/0.6515, allocations: 35.81 kB / 497.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001382/0.6516, allocations: 157 kB / 497.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.094e-06/0.6516, allocations: 0 / 497.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005613/0.6522, allocations: 123.9 kB / 497.9 MB, free: 10.3 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.002736/0.6549, allocations: 3.253 MB / 0.4894 GB, free: 7.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.6561, allocations: 0.5851 MB / 0.4899 GB, free: 6.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.6561, allocations: 7.562 kB / 0.4899 GB, free: 6.809 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005255/0.6566, allocations: 370.6 kB / 0.4903 GB, free: 6.551 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006837/0.6573, allocations: 82.81 kB / 0.4904 GB, free: 6.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.66, allocations: 1.291 MB / 0.4916 GB, free: 5.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/0.6606, allocations: 0.8806 MB / 0.4925 GB, free: 4.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003537/0.661, allocations: 76.89 kB / 0.4926 GB, free: 4.246 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/0.6613, allocations: 194.9 kB / 0.4928 GB, free: 4.156 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.6613, allocations: 0 / 0.4928 GB, free: 4.156 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/0.6965, allocations: 9.918 MB / 0.5024 GB, free: 10.36 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/0.6968, allocations: 136.9 kB / 0.5026 GB, free: 10.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/3.194, allocations: 2.406 kB / 0.5026 GB, free: 10.17 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