Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.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.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",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.001599/0.001599, allocations: 189 kB / 16.4 MB, free: 5.621 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.089/2.089, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.00119/0.001189, allocations: 102.9 kB / 270.9 MB, free: 13.28 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.2967/0.2967, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004993, allocations: 12 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1291, allocations: 58.86 MB / 490.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.02614/0.1553, allocations: 14.61 MB / 0.4931 GB, free: 10.57 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008688/0.1641, allocations: 3.817 MB / 0.4968 GB, free: 6.738 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009009/0.165, allocations: 19.81 kB / 0.4968 GB, free: 6.719 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.1663, allocations: 226.8 kB / 0.4971 GB, free: 6.496 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002636/0.169, allocations: 0.6232 MB / 0.4977 GB, free: 5.871 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003717/0.1728, allocations: 0.7644 MB / 0.4984 GB, free: 5.105 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002159/0.1749, allocations: 0.8562 MB / 0.4993 GB, free: 4.25 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009538/0.1759, allocations: 361.1 kB / 0.4996 GB, free: 3.891 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.1774, allocations: 462.5 kB / 0.5 GB, free: 3.438 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008075/0.1783, allocations: 330.7 kB / 0.5004 GB, free: 3.113 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.1784, allocations: 24 kB / 0.5004 GB, free: 3.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.1803, allocations: 0.5149 MB / 0.5009 GB, free: 2.574 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003292/0.1807, allocations: 127.5 kB / 0.501 GB, free: 2.449 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003206/0.1811, allocations: 145.4 kB / 0.5011 GB, free: 2.301 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.1831, allocations: 0.7641 MB / 0.5019 GB, free: 1.535 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1832, allocations: 0 / 0.5019 GB, free: 1.535 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.546e-06/0.1832, allocations: 0 / 0.5019 GB, free: 1.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.1832, allocations: 0 / 0.5019 GB, free: 1.535 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002252/0.1855, allocations: 0.886 MB / 0.5028 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.1856, allocations: 16.02 kB / 0.5028 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002316/0.1858, allocations: 90.52 kB / 0.5029 GB, free: 492 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005018/0.1863, allocations: 83.09 kB / 0.5029 GB, free: 408 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.1876, allocations: 472.7 kB / 0.5034 GB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.1877, allocations: 37 kB / 0.5034 GB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.1878, allocations: 48 kB / 0.5035 GB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.1895, allocations: 0.6378 MB / 0.5041 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.1895, allocations: 7.938 kB / 0.5041 GB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.767e-05/0.1897, allocations: 20 kB / 0.5041 GB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.1897, allocations: 12 kB / 0.5041 GB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.1912, allocations: 0.5307 MB / 0.5046 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006355/0.1976, allocations: 3.171 MB / 0.5077 GB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007307/0.1984, allocations: 226.7 kB / 0.508 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004643/0.1988, allocations: 344.4 kB / 0.5083 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007831/0.1996, allocations: 302.8 kB / 0.5086 GB, free: 10.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.277e-06/0.1997, allocations: 0 / 0.5086 GB, free: 10.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001787/0.2015, allocations: 0.6105 MB / 0.5092 GB, free: 9.582 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002061/0.2017, allocations: 294.7 kB / 0.5095 GB, free: 9.227 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.2028, allocations: 0.542 MB / 0.51 GB, free: 8.672 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.203, allocations: 33.7 kB / 0.51 GB, free: 8.633 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/0.2034, allocations: 369.4 kB / 0.5104 GB, free: 8.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.2036, allocations: 90.73 kB / 0.5105 GB, free: 8.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.2036, allocations: 16 kB / 0.5105 GB, free: 8.164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.2038, allocations: 334.8 kB / 0.5108 GB, free: 7.828 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00049/0.2043, allocations: 161 kB / 0.5109 GB, free: 7.672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007546/0.2051, allocations: 380.9 kB / 0.5113 GB, free: 7.203 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.2057, allocations: 237.4 kB / 0.5115 GB, free: 6.965 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.2058, allocations: 4 kB / 0.5115 GB, free: 6.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001776/0.2076, allocations: 0.5966 MB / 0.5121 GB, free: 6.352 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001115/0.2087, allocations: 2.121 MB / 0.5142 GB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/0.2088, allocations: 11.98 kB / 0.5142 GB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/0.2088, allocations: 15.94 kB / 0.5142 GB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/0.2115, allocations: 191.7 kB / 0.5144 GB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007597/0.2123, allocations: 0.6328 MB / 0.515 GB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009679/0.2133, allocations: 75.27 kB / 0.5151 GB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.2134, allocations: 31.98 kB / 0.5151 GB, free: 3.086 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.2135, allocations: 4 kB / 0.5151 GB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001579/0.215, allocations: 0.56 MB / 0.5157 GB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.2151, allocations: 4 kB / 0.5157 GB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2151, allocations: 12.03 kB / 0.5157 GB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007806/0.2159, allocations: 115.8 kB / 0.5158 GB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/0.216, allocations: 11.94 kB / 0.5158 GB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/0.2166, allocations: 55.58 kB / 0.5159 GB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.305e-05/0.2167, allocations: 27.98 kB / 0.5159 GB, free: 2.293 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * 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.0005884/0.2173, allocations: 321.8 kB / 0.5162 GB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.2175, allocations: 59.34 kB / 0.5163 GB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/0.2199, allocations: 0.787 MB / 0.517 GB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.22, allocations: 8 kB / 0.517 GB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.22, allocations: 0 / 0.517 GB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.22, allocations: 3.984 kB / 0.517 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.2212, allocations: 0.5326 MB / 0.5176 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.2212, allocations: 0 / 0.5176 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/0.2224, allocations: 131.8 kB / 0.5177 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.2224, allocations: 0 / 0.5177 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.042e-05/0.2225, allocations: 15.98 kB / 0.5177 GB, free: 384 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3108/0.5334, allocations: 0.5887 MB / 0.5183 GB, free: 44.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5334, allocations: 0.7031 kB / 0.5183 GB, free: 44.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.535, allocations: 0.5588 MB / 0.5188 GB, free: 44.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000556/0.5356, allocations: 224.7 kB / 0.519 GB, free: 44.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.5358, allocations: 12.69 kB / 0.519 GB, free: 44.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/0.5364, allocations: 24.81 kB / 0.5191 GB, free: 44.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.5365, allocations: 24.58 kB / 0.5191 GB, free: 44.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.5366, allocations: 19.03 kB / 0.5191 GB, free: 44.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008418/0.5374, allocations: 412.4 kB / 0.5195 GB, free: 44.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5375, allocations: 0 / 0.5195 GB, free: 44.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001945/0.5394, allocations: 427.7 kB / 0.5199 GB, free: 44.65 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.002657/0.5421, allocations: 1.314 MB / 0.5212 GB, free: 43.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004411/0.5466, allocations: 0.9599 MB / 0.5221 GB, free: 43.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.5466, allocations: 1.812 kB / 0.5221 GB, free: 43.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.5484, allocations: 386.4 kB / 0.5225 GB, free: 43.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.5508, allocations: 263.3 kB / 0.5227 GB, free: 43.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00942/0.5603, allocations: 6.97 MB / 0.5296 GB, free: 38.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.5608, allocations: 0.9042 MB / 0.5304 GB, free: 37.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005797/0.5614, allocations: 244.2 kB / 0.5307 GB, free: 37.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5614, allocations: 0 / 0.5307 GB, free: 37.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.334/3.896, allocations: 17.21 MB / 0.5475 GB, free: 28.96 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat does not exist to compare? outputFormat=mat