Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 171.3 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.2 MB / 219.8 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008691/0.0008691, allocations: 82.67 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.129e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08737/0.08742, allocations: 47.57 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3291/0.4165, allocations: 77.87 MB / 448 MB, free: 15.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.4168, allocations: 68.72 kB / 448.1 MB, free: 15.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.024/0.4408, allocations: 9.287 MB / 457.3 MB, free: 7.562 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4408, allocations: 4 kB / 457.3 MB, free: 7.559 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.016e-05/0.4408, allocations: 8 kB / 457.4 MB, free: 7.551 MB / 330.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.001167/0.442, allocations: 0.721 MB / 458.1 MB, free: 6.785 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.4421, allocations: 8.031 kB / 458.1 MB, free: 6.777 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.389e-05/0.4422, allocations: 86.52 kB / 458.2 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.563e-05/0.4423, allocations: 55.34 kB / 458.2 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.4426, allocations: 322 kB / 458.5 MB, free: 6.273 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.4427, allocations: 33 kB / 458.6 MB, free: 6.242 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.4428, allocations: 44 kB / 458.6 MB, free: 6.199 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006633/0.4434, allocations: 402.5 kB / 459 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.4435, allocations: 11.89 kB / 459 MB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.4435, allocations: 20 kB / 459 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.4435, allocations: 8 kB / 459 MB, free: 5.758 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006003/0.4441, allocations: 371.9 kB / 459.4 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.4462, allocations: 1.382 MB / 460.8 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007443/0.447, allocations: 0.5014 MB / 461.3 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005657/0.4475, allocations: 331.2 kB / 461.6 MB, free: 3.113 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.873e-05/0.4476, allocations: 12.55 kB / 461.6 MB, free: 3.102 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.4476, allocations: 43.44 kB / 461.7 MB, free: 3.051 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 1.864e-06/0.4476, allocations: 0 / 461.7 MB, free: 3.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=103): time 0.005554/0.4532, allocations: 2.752 MB / 464.4 MB, free: 216 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.4533, allocations: 60.41 kB / 464.5 MB, free: 144 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.4535, allocations: 219.5 kB / 464.7 MB, free: 15.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.4535, allocations: 45.7 kB / 464.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.4537, allocations: 193.2 kB / 464.9 MB, free: 15.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.4539, allocations: 358.7 kB / 465.3 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.4539, allocations: 16 kB / 465.3 MB, free: 15.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4541, allocations: 366.8 kB / 465.6 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.4545, allocations: 222 kB / 465.9 MB, free: 14.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.4549, allocations: 305.5 kB / 466.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004127/0.4553, allocations: 252.9 kB / 466.4 MB, free: 14.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4553, allocations: 0 / 466.4 MB, free: 14.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0009632/0.4563, allocations: 0.6806 MB / 467.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4563, allocations: 8.062 kB / 467.1 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.4563, allocations: 0 / 467.1 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.4564, allocations: 7.953 kB / 467.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007671/0.4571, allocations: 219.7 kB / 467.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.4572, allocations: 4 kB / 467.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.4575, allocations: 67.95 kB / 467.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.4576, allocations: 27.98 kB / 467.4 MB, free: 13.15 MB / 346.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.0001403/0.4577, allocations: 152.8 kB / 467.6 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.362e-05/0.4578, allocations: 59.28 kB / 467.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.458, allocations: 81.39 kB / 467.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.458, allocations: 15.95 kB / 467.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.458, allocations: 0 / 467.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.458, allocations: 3.984 kB / 467.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.4604, allocations: 1.892 MB / 469.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.4605, allocations: 4 kB / 469.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008062/0.4613, allocations: 220.3 kB / 469.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.4613, allocations: 8 kB / 469.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.4613, allocations: 27.98 kB / 469.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-05/0.4614, allocations: 11.94 kB / 469.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.4614, allocations: 7.953 kB / 469.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.4631, allocations: 1.454 MB / 471.3 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-05/0.4632, allocations: 124.5 kB / 471.5 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.801e-05/0.4633, allocations: 28.02 kB / 471.5 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.4637, allocations: 63.95 kB / 471.6 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.4638, allocations: 76.58 kB / 471.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.4639, allocations: 32 kB / 471.7 MB, free: 8.574 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001452/0.464, allocations: 171.1 kB / 471.8 MB, free: 8.406 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.464, allocations: 0 / 471.8 MB, free: 8.406 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004651/0.4645, allocations: 160 kB / 472 MB, free: 8.25 MB / 346.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.002369/0.4669, allocations: 3.328 MB / 475.3 MB, free: 4.762 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009146/0.4678, allocations: 0.6318 MB / 475.9 MB, free: 4.133 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4678, allocations: 4 kB / 475.9 MB, free: 4.129 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005466/0.4684, allocations: 397.3 kB / 476.3 MB, free: 3.738 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005737/0.4689, allocations: 102.8 kB / 476.4 MB, free: 3.637 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.4712, allocations: 1.384 MB / 477.8 MB, free: 2.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.4715, allocations: 0.8809 MB / 478.7 MB, free: 1.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002879/0.4718, allocations: 76.92 kB / 478.8 MB, free: 1.172 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.4721, allocations: 199.4 kB / 479 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4721, allocations: 0 / 479 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.4946, allocations: 10.52 MB / 489.5 MB, free: 6.449 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/0.4948, allocations: 152.8 kB / 489.6 MB, free: 6.227 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.557, allocations: 0 / 489.6 MB, free: 6.227 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat does not exist to compare? outputFormat=mat