Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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 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 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 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(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",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.001359/0.001359, allocations: 108 kB / 16.41 MB, free: 6.484 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.00131/0.00131, allocations: 188.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2116/0.2116, allocations: 43.54 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 71.89 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1132, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03478/0.148, allocations: 30.08 MB / 0.5168 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2465/0.3945, allocations: 17.6 MB / 0.534 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004356/0.395, allocations: 9.625 kB / 0.534 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006972/0.3957, allocations: 213.2 kB / 0.5342 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007491/0.3965, allocations: 271.1 kB / 0.5344 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01697/0.4135, allocations: 6.019 MB / 0.5403 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.415, allocations: 0.829 MB / 0.5411 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004364/0.4155, allocations: 238.5 kB / 0.5413 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01347/0.429, allocations: 5.444 MB / 0.5467 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007698/0.4298, allocations: 243.9 kB / 0.5469 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.4299, allocations: 29.69 kB / 0.5469 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01305/0.4429, allocations: 6.323 MB / 0.5531 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.4432, allocations: 88 kB / 0.5532 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003802/0.4435, allocations: 198.5 kB / 0.5534 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009448/0.453, allocations: 3.844 MB / 0.5571 GB, free: 132 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.453, allocations: 1.375 kB / 0.5571 GB, free: 132 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.453, allocations: 0 / 0.5571 GB, free: 132 kB / 414.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.4531, allocations: 0 / 0.5571 GB, free: 132 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.003183/0.4562, allocations: 1.064 MB / 0.5582 GB, free: 15.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.4563, allocations: 14.55 kB / 0.5582 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.465e-05/0.4564, allocations: 65.56 kB / 0.5582 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.4579, allocations: 191.7 kB / 0.5584 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005083/0.4585, allocations: 351.5 kB / 0.5588 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.4585, allocations: 24.09 kB / 0.5588 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.4585, allocations: 24.84 kB / 0.5588 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.4598, allocations: 494.4 kB / 0.5593 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.4598, allocations: 1.344 kB / 0.5593 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.4598, allocations: 20.89 kB / 0.5593 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.4599, allocations: 9.562 kB / 0.5593 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.461, allocations: 409.9 kB / 0.5597 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0031/0.4642, allocations: 2.429 MB / 0.5621 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.4653, allocations: 330 kB / 0.5624 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.4656, allocations: 109.4 kB / 0.5625 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03375/0.4993, allocations: 16.52 MB / 0.5786 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.4994, allocations: 32.44 kB / 0.5787 GB, free: 15.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.274e-06/0.4994, allocations: 0 / 0.5787 GB, free: 15.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.001995/0.5014, allocations: 0.5326 MB / 0.5792 GB, free: 15.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.5015, allocations: 113.3 kB / 0.5793 GB, free: 14.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.5019, allocations: 315.8 kB / 0.5796 GB, free: 14.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.5019, allocations: 29.7 kB / 0.5796 GB, free: 14.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.5021, allocations: 208 kB / 0.5798 GB, free: 14.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.5021, allocations: 58.03 kB / 0.5799 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.5022, allocations: 61.64 kB / 0.5799 GB, free: 14.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5024, allocations: 342.8 kB / 0.5803 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.5027, allocations: 95.77 kB / 0.5803 GB, free: 13.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/0.5031, allocations: 219.5 kB / 0.5806 GB, free: 13.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006572/0.5037, allocations: 290.9 kB / 0.5808 GB, free: 13.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5037, allocations: 4 kB / 0.5808 GB, free: 13.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007827/0.5045, allocations: 342 kB / 0.5812 GB, free: 13.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.5046, allocations: 11.94 kB / 0.5812 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.5046, allocations: 6.906 kB / 0.5812 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.5046, allocations: 7.938 kB / 0.5812 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.5049, allocations: 69.39 kB / 0.5813 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.5049, allocations: 11.47 kB / 0.5813 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.5052, allocations: 44.02 kB / 0.5813 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.5052, allocations: 15.98 kB / 0.5813 GB, free: 12.92 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001668/0.5054, allocations: 156 kB / 0.5815 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.5055, allocations: 35.75 kB / 0.5815 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.507, allocations: 1.112 MB / 0.5826 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/0.507, allocations: 15.97 kB / 0.5826 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5071, allocations: 0 / 0.5826 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.5071, allocations: 0 / 0.5826 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000752/0.5078, allocations: 0.6692 MB / 0.5833 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5078, allocations: 0 / 0.5833 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.5081, allocations: 54.58 kB / 0.5833 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5081, allocations: 0 / 0.5833 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.5081, allocations: 11.92 kB / 0.5833 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.5081, allocations: 4 kB / 0.5833 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5081, allocations: 0 / 0.5833 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009265/0.509, allocations: 0.6261 MB / 0.5839 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.5092, allocations: 128.6 kB / 0.5841 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.5092, allocations: 31.72 kB / 0.5841 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.5094, allocations: 11.98 kB / 0.5841 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.48e-05/0.5095, allocations: 23.91 kB / 0.5841 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.5096, allocations: 15.98 kB / 0.5841 GB, free: 9.957 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000385/0.51, allocations: 338.9 kB / 0.5845 GB, free: 9.629 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.51, allocations: 4 kB / 0.5845 GB, free: 9.625 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002937/0.5129, allocations: 0.8538 MB / 0.5853 GB, free: 8.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005635/0.5185, allocations: 2.07 MB / 0.5873 GB, free: 6.766 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008805/0.5194, allocations: 352.6 kB / 0.5877 GB, free: 6.434 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5195, allocations: 0.9375 kB / 0.5877 GB, free: 6.434 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.5199, allocations: 267.5 kB / 0.5879 GB, free: 6.176 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.521, allocations: 185.3 kB / 0.5881 GB, free: 5.996 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007722/0.5287, allocations: 4.271 MB / 0.5923 GB, free: 1.602 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/0.5294, allocations: 0.8719 MB / 0.5931 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005217/0.5299, allocations: 188.8 kB / 0.5933 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/0.5302, allocations: 191.4 kB / 0.5935 GB, free: 348 kB / 446.1 MB Notification: Performance of SimCode: time 2.485e-06/0.5302, allocations: 3.938 kB / 0.5935 GB, free: 344 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07821/0.6084, allocations: 40.35 MB / 0.6329 GB, free: 7.965 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.94, allocations: 8 kB / 0.6329 GB, free: 7.957 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches