Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",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.001448/0.001448, allocations: 177.6 kB / 8.003 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008366/0.0008365, allocations: 79.89 kB / 261.7 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1953/0.1953, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.086e-05/1.087e-05, allocations: 0 / 418.3 MB, free: 28.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 58.85 MB / 477.2 MB, free: 1.566 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3746/0.4795, allocations: 88.58 MB / 0.5525 GB, free: 6.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000163/0.4797, allocations: 62.27 kB / 0.5526 GB, free: 6.402 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01882/0.4986, allocations: 6.504 MB / 0.5589 GB, free: 1.188 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4986, allocations: 0 / 0.5589 GB, free: 1.188 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.4986, allocations: 8 kB / 0.5589 GB, free: 1.18 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006425/0.4993, allocations: 0.5397 MB / 0.5595 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4993, allocations: 12.03 kB / 0.5595 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.4995, allocations: 55.14 kB / 0.5595 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.4998, allocations: 254.1 kB / 0.5598 GB, free: 284 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.4998, allocations: 12 kB / 0.5598 GB, free: 272 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.84e-05/0.4999, allocations: 27.34 kB / 0.5598 GB, free: 248 kB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003061/0.5002, allocations: 164.3 kB / 0.56 GB, free: 136 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.5006, allocations: 258.2 kB / 0.5602 GB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.5006, allocations: 3.906 kB / 0.5602 GB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.5006, allocations: 4 kB / 0.5602 GB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.5007, allocations: 8 kB / 0.5602 GB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.5023, allocations: 1.222 MB / 0.5614 GB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.5027, allocations: 305.2 kB / 0.5617 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.5029, allocations: 95.53 kB / 0.5618 GB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.5029, allocations: 11.94 kB / 0.5618 GB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.5029, allocations: 45.3 kB / 0.5619 GB, free: 14.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.583e-06/0.503, allocations: 0 / 0.5619 GB, free: 14.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.001475/0.5044, allocations: 1.28 MB / 0.5631 GB, free: 12.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.5045, allocations: 161.6 kB / 0.5633 GB, free: 12.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.5047, allocations: 176.9 kB / 0.5634 GB, free: 12.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.5047, allocations: 25.7 kB / 0.5635 GB, free: 12.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.033e-05/0.5048, allocations: 175.2 kB / 0.5636 GB, free: 12.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.184e-05/0.5049, allocations: 154.6 kB / 0.5638 GB, free: 12.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.5049, allocations: 4 kB / 0.5638 GB, free: 12.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5051, allocations: 344 kB / 0.5641 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.5052, allocations: 73.12 kB / 0.5642 GB, free: 11.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.5055, allocations: 227.1 kB / 0.5644 GB, free: 11.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.5057, allocations: 121.2 kB / 0.5645 GB, free: 11.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5057, allocations: 0 / 0.5645 GB, free: 11.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005682/0.5063, allocations: 351.8 kB / 0.5648 GB, free: 11.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.5063, allocations: 8 kB / 0.5648 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.5063, allocations: 4 kB / 0.5649 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.5064, allocations: 11.94 kB / 0.5649 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.5068, allocations: 119 kB / 0.565 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/0.5068, allocations: 15.92 kB / 0.565 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.507, allocations: 7.984 kB / 0.565 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.507, allocations: 23.88 kB / 0.565 GB, free: 11.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.000126/0.5072, allocations: 120.8 kB / 0.5651 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004436/0.5076, allocations: 246.7 kB / 0.5654 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.5077, allocations: 27.72 kB / 0.5654 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.508, allocations: 105.1 kB / 0.5655 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.508, allocations: 8 kB / 0.5655 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.508, allocations: 0 / 0.5655 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.508, allocations: 0 / 0.5655 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.5094, allocations: 0.9467 MB / 0.5664 GB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5094, allocations: 4 kB / 0.5664 GB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.5098, allocations: 99.45 kB / 0.5665 GB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.5098, allocations: 4 kB / 0.5665 GB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.5099, allocations: 12.12 kB / 0.5665 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5099, allocations: 4 kB / 0.5665 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.5099, allocations: 7.953 kB / 0.5666 GB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008242/0.5107, allocations: 0.9296 MB / 0.5675 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.293e-05/0.5108, allocations: 104.8 kB / 0.5676 GB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.5109, allocations: 7.984 kB / 0.5676 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.5111, allocations: 4 kB / 0.5676 GB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.5112, allocations: 35.55 kB / 0.5676 GB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.5112, allocations: 11.56 kB / 0.5676 GB, free: 8.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.5114, allocations: 142.2 kB / 0.5678 GB, free: 8.398 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5114, allocations: 0 / 0.5678 GB, free: 8.398 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005261/0.5119, allocations: 64 kB / 0.5678 GB, free: 8.336 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.001285/0.5132, allocations: 2.302 MB / 0.5701 GB, free: 6.043 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003857/0.5136, allocations: 235.9 kB / 0.5703 GB, free: 5.871 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5136, allocations: 7.25 kB / 0.5703 GB, free: 5.867 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.5138, allocations: 116.7 kB / 0.5704 GB, free: 5.777 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005754/0.5143, allocations: 53.84 kB / 0.5705 GB, free: 5.738 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.5163, allocations: 1.189 MB / 0.5716 GB, free: 4.527 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.5167, allocations: 0.7919 MB / 0.5724 GB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001594/0.5169, allocations: 35.28 kB / 0.5724 GB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.517, allocations: 104.3 kB / 0.5725 GB, free: 3.641 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.517, allocations: 0 / 0.5725 GB, free: 3.641 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.5419, allocations: 5.344 MB / 0.5777 GB, free: 14.32 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.5422, allocations: 135.4 kB / 0.5779 GB, free: 14.12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.527, allocations: 0 / 0.5779 GB, free: 14.12 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat