Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa",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.00228/0.002284, allocations: 188 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.19/2.19, 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.001145/0.001145, 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.2991/0.2991, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006743/0.0006743, allocations: 12 kB / 431.5 MB, free: 20.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1366, allocations: 58.87 MB / 490.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.6271/0.7638, allocations: 126.1 MB / 0.602 GB, free: 12.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01285/0.7767, allocations: 6.914 MB / 0.6088 GB, free: 5.676 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002172/0.777, allocations: 4 kB / 0.6088 GB, free: 5.672 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.7773, allocations: 43.78 kB / 0.6088 GB, free: 5.629 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004938/0.7822, allocations: 1.165 MB / 0.61 GB, free: 4.465 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005727/0.7828, allocations: 135.7 kB / 0.6101 GB, free: 4.332 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006836/0.7835, allocations: 263.4 kB / 0.6103 GB, free: 4.074 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.549e-05/0.7836, allocations: 13.67 kB / 0.6104 GB, free: 4.062 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/0.7841, allocations: 163.5 kB / 0.6105 GB, free: 3.902 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00043/0.7845, allocations: 155.6 kB / 0.6107 GB, free: 3.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.7846, allocations: 4 kB / 0.6107 GB, free: 3.746 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00396/0.7886, allocations: 1.108 MB / 0.6117 GB, free: 2.637 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.7888, allocations: 39.88 kB / 0.6118 GB, free: 2.598 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.7889, allocations: 65.58 kB / 0.6118 GB, free: 2.527 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002278/0.7912, allocations: 0.6378 MB / 0.6125 GB, free: 1.895 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.7913, allocations: 4 kB / 0.6125 GB, free: 1.891 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.7913, allocations: 0 / 0.6125 GB, free: 1.891 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.7913, allocations: 0 / 0.6125 GB, free: 1.891 MB / 410.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.00196/0.7933, allocations: 0.6559 MB / 0.6131 GB, free: 1.188 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.7933, allocations: 8.031 kB / 0.6131 GB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.7935, allocations: 58.55 kB / 0.6132 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01318/0.8067, allocations: 0.5931 MB / 0.6138 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006288/0.8074, allocations: 250.7 kB / 0.614 GB, free: 240 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.8076, allocations: 123.4 kB / 0.6141 GB, free: 88 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.8077, allocations: 28 kB / 0.6141 GB, free: 60 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.8098, allocations: 0.5517 MB / 0.6147 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.8099, allocations: 0 / 0.6147 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.81, allocations: 19.94 kB / 0.6147 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.064e-05/0.81, allocations: 4 kB / 0.6147 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/0.8127, allocations: 0.626 MB / 0.6153 GB, free: 14.82 MB / 426.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.003263/0.816, allocations: 1.63 MB / 0.6169 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/0.8166, allocations: 154.5 kB / 0.617 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.8177, allocations: 0.6696 MB / 0.6177 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.8178, allocations: 42.48 kB / 0.6177 GB, free: 12.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 3.025e-06/0.8178, allocations: 0 / 0.6177 GB, free: 12.1 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.001679/0.8195, allocations: 327.8 kB / 0.6181 GB, free: 11.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.8196, allocations: 55.58 kB / 0.6181 GB, free: 11.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.8199, allocations: 191.3 kB / 0.6183 GB, free: 11.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/0.8199, allocations: 29.7 kB / 0.6183 GB, free: 11.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.8201, allocations: 249.7 kB / 0.6186 GB, free: 11.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.279e-05/0.8202, allocations: 71.08 kB / 0.6186 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.8202, allocations: 12 kB / 0.6186 GB, free: 11.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.8204, allocations: 326.8 kB / 0.6189 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.8206, allocations: 60.7 kB / 0.619 GB, free: 10.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.821, allocations: 267.7 kB / 0.6193 GB, free: 10.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.8214, allocations: 108.6 kB / 0.6194 GB, free: 10.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.8214, allocations: 4 kB / 0.6194 GB, free: 10.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001023/0.8224, allocations: 367.9 kB / 0.6197 GB, free: 9.938 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.8225, allocations: 8 kB / 0.6197 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.8225, allocations: 4 kB / 0.6197 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.213e-05/0.8226, allocations: 12 kB / 0.6197 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007565/0.8233, allocations: 127.2 kB / 0.6199 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005026/0.8238, allocations: 0.6055 MB / 0.6205 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.8243, allocations: 43.53 kB / 0.6205 GB, free: 9.121 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.13e-05/0.8244, allocations: 43.98 kB / 0.6205 GB, free: 9.078 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002211/0.8246, allocations: 141.7 kB / 0.6207 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.097e-05/0.8247, allocations: 19.91 kB / 0.6207 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.826, allocations: 309 kB / 0.621 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.826, allocations: 4 kB / 0.621 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.826, allocations: 3.938 kB / 0.621 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.8261, allocations: 0 / 0.621 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.8272, allocations: 0.5132 MB / 0.6215 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8272, allocations: 128 / 0.6215 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.8276, allocations: 59.97 kB / 0.6216 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/0.8276, allocations: 7.984 kB / 0.6216 GB, free: 7.938 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.8277, allocations: 4 kB / 0.6216 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004363/0.8281, allocations: 0.5976 MB / 0.6221 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8281, allocations: 0 / 0.6221 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/0.8287, allocations: 325.8 kB / 0.6225 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.8289, allocations: 116.8 kB / 0.6226 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.706e-05/0.829, allocations: 4 kB / 0.6226 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.8294, allocations: 19.86 kB / 0.6226 GB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.8295, allocations: 11.98 kB / 0.6226 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/0.8295, allocations: 23.98 kB / 0.6226 GB, free: 6.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001802/0.8297, allocations: 135 kB / 0.6228 GB, free: 6.617 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.8297, allocations: 0 / 0.6228 GB, free: 6.617 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001041/0.8308, allocations: 183.9 kB / 0.6229 GB, free: 6.438 MB / 426.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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002126/0.8329, allocations: 1.342 MB / 0.6242 GB, free: 5.051 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008954/0.8339, allocations: 220.3 kB / 0.6245 GB, free: 4.836 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.8339, allocations: 0 / 0.6245 GB, free: 4.836 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.8343, allocations: 83.77 kB / 0.6245 GB, free: 4.754 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.8349, allocations: 57.59 kB / 0.6246 GB, free: 4.699 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004956/0.8399, allocations: 5.883 MB / 0.6303 GB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.8403, allocations: 0.7286 MB / 0.631 GB, free: 13.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004422/0.8408, allocations: 87.39 kB / 0.6311 GB, free: 13.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.283e-06/0.8408, allocations: 0 / 0.6311 GB, free: 13.77 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.936/3.777, allocations: 6.579 MB / 0.6376 GB, free: 7.18 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat does not exist to compare? outputFormat=mat