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.0009736/0.0009731, allocations: 97.36 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009848/0.0009849, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002881, allocations: 8 kB / 306.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1221, allocations: 51.49 MB / 358.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001795/0.124, allocations: 1.32 MB / 359.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002131/0.1242, allocations: 71.81 kB / 359.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.1243, allocations: 4 kB / 359.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.1243, allocations: 7.922 kB / 359.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.226e-05/0.1244, allocations: 15.97 kB / 359.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001093/0.1245, allocations: 15.97 kB / 359.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1247, allocations: 51.88 kB / 359.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1248, allocations: 15.98 kB / 359.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.01e-05/0.1248, allocations: 19.92 kB / 359.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.1249, allocations: 27.84 kB / 359.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1249, allocations: 4 kB / 359.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.1249, allocations: 0 / 359.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.125, allocations: 4 kB / 359.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.125, allocations: 41.58 kB / 359.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.678e-05/0.1251, allocations: 48.12 kB / 359.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1251, allocations: 0 / 359.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1251, allocations: 0 / 359.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1251, allocations: 0 / 359.8 MB, free: 12.12 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.0004048/0.1255, allocations: 355.2 kB / 360.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1256, allocations: 8.031 kB / 360.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.971e-05/0.1256, allocations: 38.56 kB / 360.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.1256, allocations: 4 kB / 360.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.1258, allocations: 186.9 kB / 360.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1259, allocations: 8 kB / 360.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.1259, allocations: 15.88 kB / 360.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.126, allocations: 65.67 kB / 360.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.126, allocations: 4 kB / 360.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1261, allocations: 0 / 360.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1261, allocations: 0 / 360.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.289e-05/0.1261, allocations: 35.98 kB / 360.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.1267, allocations: 383.5 kB / 360.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.209e-05/0.1268, allocations: 54.56 kB / 361 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.1268, allocations: 0 / 361 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.1269, allocations: 34.56 kB / 361 MB, free: 10.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.1269, allocations: 4 kB / 361 MB, free: 10.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006779/0.1275, allocations: 0.5137 MB / 361.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1276, allocations: 51.41 kB / 361.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.89e-05/0.1277, allocations: 125.9 kB / 361.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.1277, allocations: 25.7 kB / 361.7 MB, free: 9.938 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.1278, allocations: 92.03 kB / 361.8 MB, free: 9.844 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.1278, allocations: 27.56 kB / 361.8 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.1278, allocations: 8 kB / 361.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1279, allocations: 322.8 kB / 362.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.375e-05/0.128, allocations: 19.98 kB / 362.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.25e-05/0.128, allocations: 53.14 kB / 362.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.793e-05/0.1281, allocations: 28 kB / 362.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1281, allocations: 0 / 362.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001473/0.1282, allocations: 109.5 kB / 362.4 MB, free: 9.254 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1283, allocations: 11.94 kB / 362.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1283, allocations: 0 / 362.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1283, allocations: 4 kB / 362.4 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.857e-05/0.1284, allocations: 23.92 kB / 362.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.1284, allocations: 4 kB / 362.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.163e-05/0.1285, allocations: 3.953 kB / 362.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1285, allocations: 12.09 kB / 362.4 MB, free: 9.195 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 9.395e-05/0.1286, allocations: 122.4 kB / 362.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.1286, allocations: 11.89 kB / 362.6 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.1287, allocations: 12.38 kB / 362.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1287, allocations: 0 / 362.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1287, allocations: 0 / 362.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1287, allocations: 0 / 362.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.1291, allocations: 418.6 kB / 363 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1291, allocations: 0 / 363 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.36e-05/0.1292, allocations: 24.39 kB / 363 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1292, allocations: 0 / 363 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1293, allocations: 7.953 kB / 363 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1293, allocations: 4 kB / 363 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1293, allocations: 0 / 363 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.1295, allocations: 296.5 kB / 363.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.1296, allocations: 85.12 kB / 363.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1296, allocations: 0 / 363.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.1297, allocations: 8 kB / 363.4 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.1297, allocations: 15.88 kB / 363.4 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.1297, allocations: 4 kB / 363.4 MB, free: 8.039 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.735e-05/0.1298, allocations: 95.33 kB / 363.5 MB, free: 7.945 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1298, allocations: 0 / 363.5 MB, free: 7.945 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.13, allocations: 16 kB / 363.5 MB, free: 7.93 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.0005788/0.1306, allocations: 1.159 MB / 364.7 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001273/0.1307, allocations: 63.91 kB / 364.7 MB, free: 6.648 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1308, allocations: 0 / 364.7 MB, free: 6.648 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.1308, allocations: 27.88 kB / 364.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.131, allocations: 19.94 kB / 364.8 MB, free: 6.602 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.1323, allocations: 1.495 MB / 366.3 MB, free: 5.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.1326, allocations: 0.7043 MB / 367 MB, free: 4.289 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.378e-05/0.1326, allocations: 4.625 kB / 367 MB, free: 4.285 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.1327, allocations: 27.42 kB / 367 MB, free: 4.258 MB / 302.1 MB Notification: Performance of SimCode: time 1.483e-06/0.1327, allocations: 3.938 kB / 367 MB, free: 4.254 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0107/0.1434, allocations: 1.627 MB / 368.7 MB, free: 2.758 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/0.1436, allocations: 185 kB / 368.8 MB, free: 2.516 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/1.919, allocations: 7.875 kB / 368.8 MB, free: 2.508 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