Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009493/0.000949, allocations: 98.78 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 192.3 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002599/0.0002599, allocations: 11.94 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1184, allocations: 63.46 MB / 481.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00294/0.1214, allocations: 2.682 MB / 484.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.1229, allocations: 1.017 MB / 485.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.1231, allocations: 11.94 kB / 485.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.1233, allocations: 43.62 kB / 485.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.1234, allocations: 107.2 kB / 485.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.1239, allocations: 151.5 kB / 485.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003923/0.1243, allocations: 426 kB / 486.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.1245, allocations: 86.16 kB / 486.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.1246, allocations: 147.4 kB / 486.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.1248, allocations: 159.3 kB / 486.4 MB, free: 468 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.814e-05/0.1249, allocations: 16 kB / 486.5 MB, free: 452 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.125, allocations: 43.92 kB / 486.5 MB, free: 408 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.125, allocations: 63.75 kB / 486.6 MB, free: 344 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.563e-05/0.1251, allocations: 93.52 kB / 486.6 MB, free: 244 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.1254, allocations: 319.4 kB / 487 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1255, allocations: 8 kB / 487 MB, free: 15.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1255, allocations: 0 / 487 MB, free: 15.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1255, allocations: 0 / 487 MB, free: 15.92 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0009896/0.1265, allocations: 0.6315 MB / 487.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1265, allocations: 8.031 kB / 487.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.449e-05/0.1266, allocations: 70.53 kB / 487.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.1269, allocations: 71.41 kB / 487.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.1272, allocations: 293.4 kB / 488 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.1272, allocations: 21 kB / 488.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.1273, allocations: 43.91 kB / 488.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.1278, allocations: 363.6 kB / 488.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.1279, allocations: 4 kB / 488.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.1279, allocations: 16 kB / 488.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.1279, allocations: 15.98 kB / 488.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/0.1284, allocations: 255.6 kB / 488.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.1303, allocations: 1.514 MB / 490.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006489/0.131, allocations: 415.7 kB / 490.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.1312, allocations: 137.1 kB / 490.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.1312, allocations: 11.94 kB / 490.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.1312, allocations: 38.56 kB / 490.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.953e-06/0.1313, allocations: 4 kB / 490.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.002793/0.1341, allocations: 1.996 MB / 492.8 MB, free: 9.473 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.1341, allocations: 187.9 kB / 493 MB, free: 9.246 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.1344, allocations: 247 kB / 493.3 MB, free: 8.996 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.1344, allocations: 33.7 kB / 493.3 MB, free: 8.957 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1345, allocations: 208.2 kB / 493.5 MB, free: 8.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.1347, allocations: 189.3 kB / 493.7 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.1347, allocations: 8 kB / 493.7 MB, free: 8.555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1348, allocations: 346.8 kB / 494 MB, free: 8.207 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.135, allocations: 117.2 kB / 494.1 MB, free: 8.094 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/0.1354, allocations: 303.9 kB / 494.4 MB, free: 7.719 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.1357, allocations: 163.8 kB / 494.6 MB, free: 7.559 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1357, allocations: 4 kB / 494.6 MB, free: 7.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007316/0.1364, allocations: 489 kB / 495.1 MB, free: 7.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1364, allocations: 4 kB / 495.1 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.1365, allocations: 8 kB / 495.1 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.1365, allocations: 8 kB / 495.1 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/0.1369, allocations: 143.8 kB / 495.2 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.137, allocations: 12.75 kB / 495.3 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.1372, allocations: 31.98 kB / 495.3 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.1373, allocations: 28.05 kB / 495.3 MB, free: 6.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0001676/0.1374, allocations: 169.6 kB / 495.5 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.1376, allocations: 39.61 kB / 495.5 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.1378, allocations: 127.2 kB / 495.6 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.1378, allocations: 8 kB / 495.7 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.1379, allocations: 3.938 kB / 495.7 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.1379, allocations: 15.94 kB / 495.7 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.1397, allocations: 1.249 MB / 496.9 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.1397, allocations: 8.031 kB / 496.9 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.1402, allocations: 115.9 kB / 497 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.1402, allocations: 7.984 kB / 497 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.1402, allocations: 16 kB / 497.1 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/0.1402, allocations: 11.94 kB / 497.1 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1403, allocations: 4 kB / 497.1 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.1413, allocations: 1.001 MB / 498.1 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.33e-05/0.1414, allocations: 116.7 kB / 498.2 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.1414, allocations: 12 kB / 498.2 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.1418, allocations: 20.19 kB / 498.2 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.1419, allocations: 47.84 kB / 498.3 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.1419, allocations: 16 kB / 498.3 MB, free: 3.676 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.1421, allocations: 178 kB / 498.5 MB, free: 3.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1421, allocations: 0 / 498.5 MB, free: 3.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006334/0.1427, allocations: 96 kB / 498.6 MB, free: 3.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.001312/0.144, allocations: 1.562 MB / 0.4884 GB, free: 1.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006316/0.1447, allocations: 343.3 kB / 0.4887 GB, free: 1.453 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/0.1447, allocations: 4 kB / 0.4887 GB, free: 1.449 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.145, allocations: 167.6 kB / 0.4889 GB, free: 1.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009837/0.1459, allocations: 93.94 kB / 0.489 GB, free: 1.199 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004997/0.151, allocations: 3.078 MB / 0.492 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.1514, allocations: 0.8044 MB / 0.4928 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002352/0.1516, allocations: 47.33 kB / 0.4928 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.1518, allocations: 135.4 kB / 0.4929 GB, free: 12.94 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1519, allocations: 0 / 0.4929 GB, free: 12.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.1701, allocations: 7.049 MB / 0.4998 GB, free: 6.051 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/0.1703, allocations: 170.5 kB / 0.5 GB, free: 5.816 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.097, allocations: 0 / 0.5 GB, free: 5.816 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat