Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008805/0.0008811, allocations: 88.16 kB / 16.31 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008444/0.0008447, allocations: 182.4 kB / 17.21 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.3 MB / 241.2 MB, free: 14.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002402/0.0002403, allocations: 7.984 kB / 300.9 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09917/0.09943, allocations: 50.42 MB / 351.3 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001699/0.1012, allocations: 1.323 MB / 352.7 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002191/0.1014, allocations: 63.81 kB / 352.7 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.1015, allocations: 0 / 352.7 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.446e-05/0.1016, allocations: 11.92 kB / 352.7 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.37e-05/0.1016, allocations: 15.84 kB / 352.8 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001085/0.1017, allocations: 8 kB / 352.8 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.1019, allocations: 67.72 kB / 352.8 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.102, allocations: 19.94 kB / 352.9 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.35e-05/0.102, allocations: 23.92 kB / 352.9 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.758e-05/0.1021, allocations: 23.86 kB / 352.9 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1021, allocations: 0 / 352.9 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.283e-05/0.1021, allocations: 4 kB / 352.9 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.1021, allocations: 4 kB / 352.9 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.1021, allocations: 37.64 kB / 352.9 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.461e-05/0.1022, allocations: 52.05 kB / 353 MB, free: 2.012 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1022, allocations: 4 kB / 353 MB, free: 2.008 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1022, allocations: 0 / 353 MB, free: 2.008 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1023, allocations: 0 / 353 MB, free: 2.008 MB / 286.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.0003774/0.1026, allocations: 359.2 kB / 353.3 MB, free: 1.609 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1027, allocations: 11.97 kB / 353.4 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.42e-05/0.1027, allocations: 30.56 kB / 353.4 MB, free: 1.559 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.1027, allocations: 8 kB / 353.4 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.1029, allocations: 182.8 kB / 353.6 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1029, allocations: 8 kB / 353.6 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.103, allocations: 12 kB / 353.6 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1031, allocations: 61.67 kB / 353.7 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1031, allocations: 4 kB / 353.7 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1031, allocations: 3.953 kB / 353.7 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1031, allocations: 0 / 353.7 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.1032, allocations: 39.97 kB / 353.7 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/0.1038, allocations: 387.5 kB / 354.1 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.925e-05/0.1039, allocations: 54.56 kB / 354.1 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.104, allocations: 20.86 kB / 354.2 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.104, allocations: 0 / 354.2 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.104, allocations: 34.5 kB / 354.2 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.104, allocations: 0 / 354.2 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007074/0.1047, allocations: 0.5092 MB / 354.7 MB, free: 36 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.1048, allocations: 51.41 kB / 354.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.383e-05/0.1049, allocations: 117.9 kB / 354.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1049, allocations: 33.7 kB / 354.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.105, allocations: 92.03 kB / 355 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.105, allocations: 31.55 kB / 355 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.105, allocations: 4.469 kB / 355 MB, free: 15.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1051, allocations: 322.8 kB / 355.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.242e-05/0.1051, allocations: 15.98 kB / 355.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.929e-05/0.1052, allocations: 65.14 kB / 355.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.1053, allocations: 27.94 kB / 355.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1053, allocations: 3.938 kB / 355.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000158/0.1054, allocations: 109.5 kB / 355.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1055, allocations: 7.938 kB / 355.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.1055, allocations: 4 kB / 355.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1055, allocations: 3.984 kB / 355.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.965e-05/0.1056, allocations: 20 kB / 355.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.1056, allocations: 4 kB / 355.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.907e-05/0.1056, allocations: 4.094 kB / 355.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1056, allocations: 11.98 kB / 355.6 MB, free: 15.05 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 7.473e-05/0.1057, allocations: 125.7 kB / 355.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.1058, allocations: 7.906 kB / 355.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.1058, allocations: 12.38 kB / 355.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1058, allocations: 4 kB / 355.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1058, allocations: 4 kB / 355.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1058, allocations: 0 / 355.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.1063, allocations: 414.5 kB / 356.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1063, allocations: 0 / 356.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.419e-05/0.1064, allocations: 19.98 kB / 356.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1064, allocations: 0 / 356.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1064, allocations: 8 kB / 356.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.1064, allocations: 0 / 356.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1064, allocations: 8.156 kB / 356.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.1066, allocations: 231.8 kB / 356.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.1067, allocations: 81.16 kB / 356.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.1067, allocations: 8 kB / 356.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.1068, allocations: 7.984 kB / 356.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.1068, allocations: 11.95 kB / 356.5 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.1068, allocations: 0 / 356.5 MB, free: 14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.542e-05/0.1069, allocations: 99.3 kB / 356.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1069, allocations: 0 / 356.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1071, allocations: 16 kB / 356.6 MB, free: 13.88 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.0004384/0.1076, allocations: 0.7595 MB / 357.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.1077, allocations: 59.97 kB / 357.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1077, allocations: 0 / 357.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.857e-05/0.1077, allocations: 35.81 kB / 357.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.1081, allocations: 19.94 kB / 357.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1091, allocations: 0.7487 MB / 358.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.1093, allocations: 0.6965 MB / 359 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.859e-05/0.1094, allocations: 12.42 kB / 359 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.1094, allocations: 19.44 kB / 359 MB, free: 11.39 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1095, allocations: 0 / 359 MB, free: 11.39 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01115/0.1206, allocations: 1.634 MB / 360.6 MB, free: 9.887 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/0.1208, allocations: 203.4 kB / 360.8 MB, free: 9.633 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/1.919, allocations: 0 / 360.8 MB, free: 9.633 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat