Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir",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.001603/0.001602, allocations: 187 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.039/2.039, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001257/0.001257, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3594/0.3594, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004816, allocations: 8 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.142, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.6471/0.7892, allocations: 115.3 MB / 0.5914 GB, free: 6.957 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007225/0.7965, allocations: 3.835 MB / 0.5952 GB, free: 3.113 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002314/0.7968, allocations: 4 kB / 0.5952 GB, free: 3.109 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004258/0.7972, allocations: 55.7 kB / 0.5952 GB, free: 3.055 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002668/0.7999, allocations: 0.6171 MB / 0.5958 GB, free: 2.438 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007109/0.8007, allocations: 153 kB / 0.596 GB, free: 2.289 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006941/0.8014, allocations: 259.4 kB / 0.5962 GB, free: 2.035 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.306e-05/0.8015, allocations: 13.69 kB / 0.5962 GB, free: 2.023 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003752/0.8019, allocations: 147.5 kB / 0.5964 GB, free: 1.879 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004567/0.8023, allocations: 167.5 kB / 0.5965 GB, free: 1.715 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.8024, allocations: 4 kB / 0.5966 GB, free: 1.711 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.8049, allocations: 0.6125 MB / 0.5972 GB, free: 1.098 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.8051, allocations: 43.86 kB / 0.5972 GB, free: 1.055 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.8053, allocations: 65.58 kB / 0.5973 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.8065, allocations: 289.7 kB / 0.5975 GB, free: 0.707 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.8065, allocations: 0 / 0.5975 GB, free: 0.707 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.8065, allocations: 4 kB / 0.5975 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.8066, allocations: 0 / 0.5975 GB, free: 0.7031 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001444/0.808, allocations: 0.5428 MB / 0.5981 GB, free: 116 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.8081, allocations: 8.031 kB / 0.5981 GB, free: 108 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.843e-05/0.8082, allocations: 55.06 kB / 0.5981 GB, free: 44 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.8084, allocations: 39.66 kB / 0.5982 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.8088, allocations: 226.8 kB / 0.5984 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.809, allocations: 123.4 kB / 0.5985 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.8091, allocations: 24 kB / 0.5985 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007741/0.8099, allocations: 310.8 kB / 0.5988 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.8099, allocations: 11.92 kB / 0.5988 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.81, allocations: 12 kB / 0.5988 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/0.81, allocations: 8 kB / 0.5988 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.8114, allocations: 0.7391 MB / 0.5996 GB, free: 14.48 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.8137, allocations: 1.276 MB / 0.6008 GB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006108/0.8143, allocations: 163.8 kB / 0.601 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00373/0.8181, allocations: 2.64 MB / 0.6035 GB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.8182, allocations: 42.56 kB / 0.6036 GB, free: 9.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.925e-06/0.8182, allocations: 0 / 0.6036 GB, free: 9.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009895/0.8192, allocations: 241.3 kB / 0.6038 GB, free: 9.492 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.8193, allocations: 55.39 kB / 0.6039 GB, free: 9.426 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.8196, allocations: 206.9 kB / 0.6041 GB, free: 9.215 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.8196, allocations: 25.7 kB / 0.6041 GB, free: 9.184 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.8198, allocations: 281.3 kB / 0.6044 GB, free: 8.906 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.775e-05/0.8199, allocations: 59.19 kB / 0.6044 GB, free: 8.848 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.8199, allocations: 8 kB / 0.6044 GB, free: 8.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.8201, allocations: 330.8 kB / 0.6047 GB, free: 8.508 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.8202, allocations: 52.84 kB / 0.6048 GB, free: 8.457 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004047/0.8207, allocations: 313.2 kB / 0.6051 GB, free: 8.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.821, allocations: 100.6 kB / 0.6052 GB, free: 7.922 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.821, allocations: 4 kB / 0.6052 GB, free: 7.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009199/0.8219, allocations: 381.3 kB / 0.6056 GB, free: 7.539 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.822, allocations: 12 kB / 0.6056 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.822, allocations: 15.89 kB / 0.6056 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.373e-05/0.822, allocations: 16 kB / 0.6056 GB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006993/0.8228, allocations: 99.83 kB / 0.6057 GB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-05/0.8228, allocations: 19.92 kB / 0.6057 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.8232, allocations: 20.42 kB / 0.6057 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/0.8233, allocations: 35.98 kB / 0.6058 GB, free: 7.324 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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.0002241/0.8235, allocations: 154.2 kB / 0.6059 GB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.963e-05/0.8236, allocations: 19.81 kB / 0.6059 GB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006003/0.8242, allocations: 180.9 kB / 0.6061 GB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/0.8243, allocations: 3.953 kB / 0.6061 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.8243, allocations: 0 / 0.6061 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.8243, allocations: 1.625 kB / 0.6061 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.8253, allocations: 477.7 kB / 0.6066 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.8254, allocations: 0 / 0.6066 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.8257, allocations: 35.91 kB / 0.6066 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.8257, allocations: 4 kB / 0.6066 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.8257, allocations: 0 / 0.6066 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.8258, allocations: 4 kB / 0.6066 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.8258, allocations: 0 / 0.6066 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004302/0.8262, allocations: 285.7 kB / 0.6069 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.8264, allocations: 120.8 kB / 0.607 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.8265, allocations: 96 / 0.607 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.8269, allocations: 20.8 kB / 0.607 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.827, allocations: 11.94 kB / 0.607 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.827, allocations: 12 kB / 0.607 GB, free: 5.867 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001998/0.8272, allocations: 144.5 kB / 0.6072 GB, free: 5.727 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.8272, allocations: 0 / 0.6072 GB, free: 5.727 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007851/0.828, allocations: 88 kB / 0.6073 GB, free: 5.641 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 13 * Array equations: 1 * 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.001194/0.8292, allocations: 1.149 MB / 0.6084 GB, free: 4.434 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005432/0.8298, allocations: 169.9 kB / 0.6085 GB, free: 4.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8298, allocations: 192 / 0.6085 GB, free: 4.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.8299, allocations: 47.92 kB / 0.6086 GB, free: 4.223 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006328/0.8306, allocations: 44.23 kB / 0.6086 GB, free: 4.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005698/0.8363, allocations: 7.67 MB / 0.6161 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.8368, allocations: 0.7326 MB / 0.6168 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.837, allocations: 67.41 kB / 0.6169 GB, free: 11.44 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/0.837, allocations: 0 / 0.6169 GB, free: 11.44 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.589/3.426, allocations: 3.97 MB / 0.6208 GB, free: 7.469 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat