Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.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) 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(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Accelerate",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.002471/0.002477, allocations: 188.4 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.185/2.185, allocations: 205.4 MB / 222.5 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 90.88 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003936, allocations: 8 kB / 327.1 MB, free: 15 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09802/0.09844, allocations: 47.58 MB / 374.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002494/0.101, allocations: 1.305 MB / 375.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002864/0.1013, allocations: 71.75 kB / 376 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.903e-05/0.1014, allocations: 0 / 376 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.1015, allocations: 7.922 kB / 376 MB, free: 13.94 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.1016, allocations: 19.95 kB / 376 MB, free: 13.92 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.1018, allocations: 19.92 kB / 376.1 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.1019, allocations: 43.88 kB / 376.1 MB, free: 13.86 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1021, allocations: 23.98 kB / 376.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.6e-05/0.1021, allocations: 23.92 kB / 376.1 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.502e-05/0.1022, allocations: 19.92 kB / 376.2 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1022, allocations: 0 / 376.2 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.369e-05/0.1023, allocations: 4 kB / 376.2 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.1023, allocations: 7.938 kB / 376.2 MB, free: 13.78 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.1023, allocations: 41.69 kB / 376.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.1025, allocations: 52.06 kB / 376.3 MB, free: 13.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.1025, allocations: 0 / 376.3 MB, free: 13.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1025, allocations: 4 kB / 376.3 MB, free: 13.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1025, allocations: 0 / 376.3 MB, free: 13.68 MB / 282.7 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.0005094/0.103, allocations: 347.2 kB / 376.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.1031, allocations: 12.03 kB / 376.6 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.379e-05/0.1031, allocations: 34.56 kB / 376.7 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.1032, allocations: 11.89 kB / 376.7 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.1034, allocations: 186.9 kB / 376.9 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1034, allocations: 0 / 376.9 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.1035, allocations: 12 kB / 376.9 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.1037, allocations: 70.31 kB / 376.9 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1037, allocations: 3.906 kB / 376.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.1038, allocations: 4 kB / 376.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1038, allocations: 4 kB / 376.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1039, allocations: 31.98 kB / 377 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008566/0.1048, allocations: 375.6 kB / 377.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.1049, allocations: 62.5 kB / 377.4 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.105, allocations: 0 / 377.4 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.105, allocations: 30.72 kB / 377.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.105, allocations: 0 / 377.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.001017/0.106, allocations: 0.5135 MB / 377.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.1061, allocations: 55.41 kB / 378 MB, free: 11.67 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1063, allocations: 122 kB / 378.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.1063, allocations: 29.7 kB / 378.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1064, allocations: 166.4 kB / 378.3 MB, free: 11.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.1065, allocations: 35.55 kB / 378.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.1065, allocations: 0 / 378.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1066, allocations: 318.8 kB / 378.7 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.496e-05/0.1067, allocations: 20 kB / 378.7 MB, free: 10.96 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1068, allocations: 53.14 kB / 378.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.447e-05/0.1069, allocations: 31.98 kB / 378.8 MB, free: 10.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1069, allocations: 0 / 378.8 MB, free: 10.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002509/0.1072, allocations: 105.5 kB / 378.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.1072, allocations: 8 kB / 378.9 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1072, allocations: 0 / 378.9 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1073, allocations: 0 / 378.9 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.1074, allocations: 27.92 kB / 378.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.1075, allocations: 11.95 kB / 378.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.1075, allocations: 0 / 378.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.1076, allocations: 4.297 kB / 378.9 MB, free: 10.7 MB / 282.7 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.0001208/0.1077, allocations: 129.8 kB / 379 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.1078, allocations: 11.89 kB / 379.1 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.1078, allocations: 16.36 kB / 379.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1078, allocations: 0 / 379.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1078, allocations: 0 / 379.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.1078, allocations: 3.953 kB / 379.1 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007158/0.1086, allocations: 406.6 kB / 379.5 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1086, allocations: 0 / 379.5 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.1088, allocations: 19.94 kB / 379.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.1088, allocations: 3.953 kB / 379.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.1088, allocations: 4 kB / 379.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.1088, allocations: 11.92 kB / 379.5 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1088, allocations: 3.984 kB / 379.5 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.1092, allocations: 292.8 kB / 379.8 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.1093, allocations: 85.11 kB / 379.9 MB, free: 9.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.1093, allocations: 3.938 kB / 379.9 MB, free: 9.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1095, allocations: 7.953 kB / 379.9 MB, free: 9.559 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.1095, allocations: 15.92 kB / 379.9 MB, free: 9.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1095, allocations: 4 kB / 379.9 MB, free: 9.539 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.449e-05/0.1096, allocations: 91.27 kB / 380 MB, free: 9.449 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1096, allocations: 0 / 380 MB, free: 9.449 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000363/0.11, allocations: 20.06 kB / 380 MB, free: 9.43 MB / 282.7 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.0008699/0.1109, allocations: 1.155 MB / 381.2 MB, free: 8.211 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.1111, allocations: 55.86 kB / 381.2 MB, free: 8.156 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1111, allocations: 256 / 381.2 MB, free: 8.156 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.87e-05/0.1112, allocations: 31.92 kB / 381.3 MB, free: 8.125 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.1116, allocations: 15.95 kB / 381.3 MB, free: 8.109 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.1134, allocations: 1.524 MB / 382.8 MB, free: 6.496 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.1138, allocations: 0.6926 MB / 383.5 MB, free: 5.777 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.1139, allocations: 31.98 kB / 383.5 MB, free: 5.746 MB / 282.7 MB Notification: Performance of SimCode: time 1.573e-06/0.1139, allocations: 4 kB / 383.5 MB, free: 5.742 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.345/2.459, allocations: 1.367 MB / 384.9 MB, free: 4.379 MB / 282.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat