Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.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) 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(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008773/0.000877, allocations: 98.67 kB / 17 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001022, allocations: 190.5 kB / 17.9 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002464/0.0002464, allocations: 4 kB / 306.8 MB, free: 1.27 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 51.5 MB / 358.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001982/0.127, allocations: 1.336 MB / 359.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000244/0.1273, allocations: 67.8 kB / 359.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.311e-05/0.1273, allocations: 3.938 kB / 359.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.752e-05/0.1274, allocations: 3.984 kB / 359.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.244e-05/0.1275, allocations: 19.86 kB / 359.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.1276, allocations: 11.98 kB / 359.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.1278, allocations: 59.73 kB / 359.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1279, allocations: 23.95 kB / 359.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.814e-05/0.1279, allocations: 15.94 kB / 359.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.408e-05/0.128, allocations: 23.86 kB / 359.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.128, allocations: 4 kB / 359.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.1281, allocations: 4 kB / 359.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.1281, allocations: 11.98 kB / 359.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.1281, allocations: 37.64 kB / 359.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1282, allocations: 48.12 kB / 360 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1283, allocations: 3.938 kB / 360 MB, free: 12.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1283, allocations: 0 / 360 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1283, allocations: 0 / 360 MB, free: 12.09 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004412/0.1287, allocations: 355.1 kB / 360.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1288, allocations: 12.03 kB / 360.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.1288, allocations: 38.55 kB / 360.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.1289, allocations: 8 kB / 360.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.1291, allocations: 186.8 kB / 360.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.1291, allocations: 4 kB / 360.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.1291, allocations: 11.95 kB / 360.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.1293, allocations: 65.67 kB / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1293, allocations: 0 / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1293, allocations: 0 / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.1293, allocations: 4 kB / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.947e-05/0.1294, allocations: 39.97 kB / 360.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006118/0.13, allocations: 379.5 kB / 361.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.054e-05/0.1301, allocations: 54.56 kB / 361.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.1302, allocations: 24.84 kB / 361.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.1302, allocations: 3.938 kB / 361.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1302, allocations: 34.56 kB / 361.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1302, allocations: 0 / 361.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007798/0.131, allocations: 0.5098 MB / 361.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1311, allocations: 59.36 kB / 361.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.1312, allocations: 114.4 kB / 361.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1312, allocations: 29.7 kB / 361.9 MB, free: 9.887 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.1312, allocations: 100 kB / 362 MB, free: 9.785 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.1313, allocations: 27.56 kB / 362 MB, free: 9.758 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.1313, allocations: 96 / 362 MB, free: 9.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1314, allocations: 326.8 kB / 362.3 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.1315, allocations: 12 kB / 362.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.077e-05/0.1316, allocations: 65.14 kB / 362.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.11e-05/0.1316, allocations: 31.92 kB / 362.4 MB, free: 9.305 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1316, allocations: 0 / 362.4 MB, free: 9.305 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001556/0.1318, allocations: 109.5 kB / 362.5 MB, free: 9.191 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1318, allocations: 4 kB / 362.5 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1318, allocations: 4 kB / 362.5 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1318, allocations: 0 / 362.5 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.447e-05/0.1319, allocations: 28.08 kB / 362.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.1319, allocations: 7.875 kB / 362.6 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.136e-05/0.132, allocations: 12.09 kB / 362.6 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.132, allocations: 4 kB / 362.6 MB, free: 9.133 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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.000109/0.1321, allocations: 118.9 kB / 362.7 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.1322, allocations: 11.89 kB / 362.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.1322, allocations: 16.36 kB / 362.7 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1322, allocations: 4 kB / 362.7 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1322, allocations: 0 / 362.7 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1322, allocations: 4 kB / 362.7 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.1328, allocations: 406.5 kB / 363.1 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.1328, allocations: 8 kB / 363.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.602e-05/0.1329, allocations: 16 kB / 363.2 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.1329, allocations: 160 / 363.2 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.1329, allocations: 15.95 kB / 363.2 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1329, allocations: 3.984 kB / 363.2 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.1329, allocations: 7.938 kB / 363.2 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.1332, allocations: 223.7 kB / 363.4 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.1333, allocations: 81.14 kB / 363.5 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.1333, allocations: 4 kB / 363.5 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/0.1334, allocations: 7.953 kB / 363.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.1334, allocations: 7.984 kB / 363.5 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.1334, allocations: 4 kB / 363.5 MB, free: 8.074 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.243e-05/0.1335, allocations: 91.31 kB / 363.6 MB, free: 7.984 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1335, allocations: 4.062 kB / 363.6 MB, free: 7.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1337, allocations: 20 kB / 363.6 MB, free: 7.961 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.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 (9): * Single equations (assignments): 9 * 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.0006002/0.1343, allocations: 0.7633 MB / 364.4 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.1345, allocations: 55.92 kB / 364.4 MB, free: 7.102 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.1345, allocations: 3.938 kB / 364.4 MB, free: 7.098 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.12e-05/0.1346, allocations: 31.92 kB / 364.5 MB, free: 7.066 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.1349, allocations: 8.562 kB / 364.5 MB, free: 7.059 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.136, allocations: 0.7597 MB / 365.2 MB, free: 6.219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.1363, allocations: 0.6926 MB / 365.9 MB, free: 5.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.934e-05/0.1363, allocations: 12.41 kB / 365.9 MB, free: 5.488 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.1364, allocations: 27.42 kB / 366 MB, free: 5.461 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1364, allocations: 0 / 366 MB, free: 5.461 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0118/0.1482, allocations: 1.632 MB / 367.6 MB, free: 3.957 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.1484, allocations: 199.1 kB / 367.8 MB, free: 3.711 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/1.845, allocations: 0 / 367.8 MB, free: 3.711 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat