Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001318, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 221.5 MB / 230.3 MB, free: 7.504 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 96.55 kB / 281.2 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.862e-05/1.882e-05, allocations: 4 kB / 337.1 MB, free: 9.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1302, allocations: 50.42 MB / 387.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.449/0.5793, allocations: 78.36 MB / 465.9 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.5797, allocations: 75.95 kB / 466 MB, free: 388 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02787/0.6076, allocations: 9.487 MB / 475.5 MB, free: 6.875 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.6076, allocations: 0 / 475.5 MB, free: 6.875 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.711e-05/0.6077, allocations: 12 kB / 475.5 MB, free: 6.863 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.001334/0.609, allocations: 0.7212 MB / 476.2 MB, free: 6.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.6091, allocations: 8.031 kB / 476.2 MB, free: 6.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.6092, allocations: 55.34 kB / 476.3 MB, free: 6.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.6096, allocations: 306.1 kB / 476.6 MB, free: 5.695 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.6096, allocations: 16 kB / 476.6 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.78e-05/0.6097, allocations: 28 kB / 476.6 MB, free: 5.652 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006083/0.6103, allocations: 346.5 kB / 476.9 MB, free: 5.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006194/0.611, allocations: 351.9 kB / 477.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.611, allocations: 4 kB / 477.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.611, allocations: 0 / 477.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.6111, allocations: 8 kB / 477.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.6134, allocations: 1.311 MB / 478.6 MB, free: 3.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006839/0.6141, allocations: 472.5 kB / 479.1 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000548/0.6146, allocations: 311 kB / 479.4 MB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.348e-05/0.6147, allocations: 16.53 kB / 479.4 MB, free: 2.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.6147, allocations: 39.12 kB / 479.4 MB, free: 2.746 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 1.603e-06/0.6147, allocations: 0 / 479.4 MB, free: 2.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.003913/0.6186, allocations: 2.206 MB / 481.6 MB, free: 464 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.6187, allocations: 64.72 kB / 481.7 MB, free: 388 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.6189, allocations: 194.4 kB / 481.9 MB, free: 188 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/0.619, allocations: 25.7 kB / 481.9 MB, free: 156 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.6191, allocations: 201.4 kB / 482.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.6194, allocations: 330.9 kB / 482.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.6194, allocations: 0 / 482.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.6196, allocations: 362.8 kB / 482.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.62, allocations: 210.6 kB / 483 MB, free: 15.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/0.6204, allocations: 278.3 kB / 483.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.6208, allocations: 238.1 kB / 483.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6208, allocations: 0 / 483.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0009883/0.6218, allocations: 0.6253 MB / 484.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.6218, allocations: 8 kB / 484.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.6218, allocations: 4.062 kB / 484.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.6219, allocations: 11.92 kB / 484.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000855/0.6227, allocations: 219.7 kB / 484.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.6228, allocations: 7.938 kB / 484.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/0.6231, allocations: 39.97 kB / 484.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/0.6232, allocations: 31.98 kB / 484.4 MB, free: 13.59 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.000158/0.6233, allocations: 120.8 kB / 484.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009227/0.6243, allocations: 0.5825 MB / 485.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.6244, allocations: 59.34 kB / 485.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.6246, allocations: 61.3 kB / 485.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.6246, allocations: 12 kB / 485.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.6246, allocations: 0 / 485.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.6246, allocations: 3.984 kB / 485.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.6271, allocations: 1.745 MB / 487 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.986e-06/0.6272, allocations: 8 kB / 487 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008479/0.628, allocations: 216.3 kB / 487.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/0.6281, allocations: 8 kB / 487.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.417e-05/0.6281, allocations: 11.98 kB / 487.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.296e-05/0.6281, allocations: 12 kB / 487.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/0.6281, allocations: 7.938 kB / 487.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.63, allocations: 1.391 MB / 488.7 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.6301, allocations: 124.5 kB / 488.8 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.584e-05/0.6302, allocations: 8 kB / 488.8 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/0.6306, allocations: 47.95 kB / 488.8 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.6307, allocations: 80.58 kB / 488.9 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/0.6308, allocations: 28 kB / 489 MB, free: 8.758 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001451/0.6309, allocations: 154 kB / 489.1 MB, free: 8.605 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6309, allocations: 0 / 489.1 MB, free: 8.605 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005015/0.6314, allocations: 120 kB / 489.2 MB, free: 8.488 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.002696/0.6341, allocations: 3.264 MB / 492.5 MB, free: 5.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.6352, allocations: 0.5849 MB / 493.1 MB, free: 4.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.6352, allocations: 7.938 kB / 493.1 MB, free: 4.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005366/0.6357, allocations: 372 kB / 493.4 MB, free: 4.109 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.6364, allocations: 83.12 kB / 493.5 MB, free: 4.031 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.6388, allocations: 1.292 MB / 494.8 MB, free: 2.641 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.6392, allocations: 0.8767 MB / 495.7 MB, free: 1.734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003256/0.6396, allocations: 76.89 kB / 495.8 MB, free: 1.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/0.6399, allocations: 191.4 kB / 496 MB, free: 1.473 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6399, allocations: 4 kB / 496 MB, free: 1.469 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03652/0.6764, allocations: 9.917 MB / 0.494 GB, free: 7.625 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/0.6768, allocations: 140.3 kB / 0.4941 GB, free: 7.434 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/3.118, allocations: 0 / 0.4941 GB, free: 7.434 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat does not exist to compare? outputFormat=mat