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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 215.6 kB / 22.99 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2527/0.2527, allocations: 44.26 MB / 330.3 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002518/0.002518, allocations: 75.88 kB / 467.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1491, allocations: 61.03 MB / 0.5161 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.3163/0.4654, allocations: 27.59 MB / 0.5431 GB, free: 9.629 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02159/0.487, allocations: 15.64 MB / 0.5584 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004796/0.4874, allocations: 13.75 kB / 0.5584 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008038/0.4883, allocations: 204 kB / 0.5586 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007326/0.489, allocations: 281.5 kB / 0.5588 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02129/0.5103, allocations: 5.972 MB / 0.5647 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001847/0.5121, allocations: 0.8434 MB / 0.5655 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003675/0.5125, allocations: 189.2 kB / 0.5657 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01192/0.5244, allocations: 5.475 MB / 0.571 GB, free: 272 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006655/0.5251, allocations: 244.2 kB / 0.5713 GB, free: 172 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.275e-05/0.5252, allocations: 30.09 kB / 0.5713 GB, free: 172 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01562/0.5408, allocations: 6.053 MB / 0.5772 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.541, allocations: 96.72 kB / 0.5773 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003943/0.5414, allocations: 153.4 kB / 0.5774 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.5531, allocations: 3.838 MB / 0.5812 GB, free: 10.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5531, allocations: 2.25 kB / 0.5812 GB, free: 10.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5531, allocations: 0 / 0.5812 GB, free: 10.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.5531, allocations: 0 / 0.5812 GB, free: 10.64 MB / 430.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.003471/0.5566, allocations: 0.9938 MB / 0.5821 GB, free: 9.902 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.5567, allocations: 8.562 kB / 0.5822 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.372e-05/0.5567, allocations: 64.28 kB / 0.5822 GB, free: 9.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.5584, allocations: 192.3 kB / 0.5824 GB, free: 9.766 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005665/0.5589, allocations: 287.9 kB / 0.5827 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.559, allocations: 24.94 kB / 0.5827 GB, free: 9.504 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.559, allocations: 24.81 kB / 0.5827 GB, free: 9.496 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.5604, allocations: 0.6326 MB / 0.5833 GB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.5604, allocations: 5.094 kB / 0.5833 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.099e-05/0.5605, allocations: 13.12 kB / 0.5834 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.5605, allocations: 5.781 kB / 0.5834 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.5618, allocations: 412.5 kB / 0.5838 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003345/0.5651, allocations: 1.818 MB / 0.5855 GB, free: 7.227 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.5663, allocations: 322.7 kB / 0.5858 GB, free: 7.055 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.5665, allocations: 100.5 kB / 0.5859 GB, free: 7.004 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03091/0.5975, allocations: 8.513 MB / 0.5943 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.5975, allocations: 38.19 kB / 0.5943 GB, free: 2.418 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.994e-06/0.5975, allocations: 0 / 0.5943 GB, free: 2.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.002189/0.5997, allocations: 0.5329 MB / 0.5948 GB, free: 1.879 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/0.5998, allocations: 102.8 kB / 0.5949 GB, free: 1.754 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.6002, allocations: 328.4 kB / 0.5952 GB, free: 1.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.6002, allocations: 25.7 kB / 0.5952 GB, free: 1.398 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.6004, allocations: 212.1 kB / 0.5954 GB, free: 1.184 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.6005, allocations: 55.53 kB / 0.5955 GB, free: 1.129 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.6006, allocations: 65.64 kB / 0.5956 GB, free: 1.059 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.6008, allocations: 338.8 kB / 0.5959 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.6011, allocations: 91.92 kB / 0.596 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/0.6015, allocations: 271.7 kB / 0.5962 GB, free: 304 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.6022, allocations: 294.9 kB / 0.5965 GB, free: 15.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6022, allocations: 0 / 0.5965 GB, free: 15.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008091/0.603, allocations: 344.5 kB / 0.5968 GB, free: 15.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.603, allocations: 8 kB / 0.5968 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.603, allocations: 4 kB / 0.5969 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.865e-05/0.603, allocations: 8.406 kB / 0.5969 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.6033, allocations: 71.89 kB / 0.5969 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.6033, allocations: 8 kB / 0.5969 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.6036, allocations: 43.75 kB / 0.597 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.6037, allocations: 16 kB / 0.597 GB, free: 15.46 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.000196/0.6038, allocations: 157.7 kB / 0.5971 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.28e-05/0.6039, allocations: 31.77 kB / 0.5972 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.6058, allocations: 1.168 MB / 0.5983 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/0.6058, allocations: 16.91 kB / 0.5983 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.6058, allocations: 3.938 kB / 0.5983 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6058, allocations: 0 / 0.5983 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008974/0.6067, allocations: 0.6203 MB / 0.5989 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6067, allocations: 0 / 0.5989 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.607, allocations: 43.95 kB / 0.599 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.986e-06/0.607, allocations: 7.984 kB / 0.599 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.607, allocations: 7.938 kB / 0.599 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.607, allocations: 0 / 0.599 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.607, allocations: 0 / 0.599 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.608, allocations: 0.6391 MB / 0.5996 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.755e-05/0.6081, allocations: 55.48 kB / 0.5997 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.32e-05/0.6082, allocations: 31.03 kB / 0.5997 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.6084, allocations: 19.98 kB / 0.5997 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.6085, allocations: 21.41 kB / 0.5997 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.6085, allocations: 8 kB / 0.5998 GB, free: 12.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004056/0.6089, allocations: 342.8 kB / 0.6001 GB, free: 12.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6089, allocations: 4 kB / 0.6001 GB, free: 12.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003474/0.6124, allocations: 0.8461 MB / 0.6009 GB, free: 11.38 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.007447/0.6198, allocations: 2.089 MB / 0.6029 GB, free: 9.281 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009627/0.6208, allocations: 360.6 kB / 0.6033 GB, free: 8.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.6208, allocations: 4 kB / 0.6033 GB, free: 8.926 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003993/0.6212, allocations: 204.5 kB / 0.6035 GB, free: 8.723 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.6224, allocations: 190.8 kB / 0.6037 GB, free: 8.547 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008771/0.6311, allocations: 4.279 MB / 0.6079 GB, free: 4.094 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.6315, allocations: 280.8 kB / 0.6081 GB, free: 3.797 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005393/0.632, allocations: 198.4 kB / 0.6083 GB, free: 3.602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.6323, allocations: 187.4 kB / 0.6085 GB, free: 3.418 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6323, allocations: 0 / 0.6085 GB, free: 3.418 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09139/0.7237, allocations: 41.57 MB / 0.6491 GB, free: 9.785 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.94, allocations: 3.938 kB / 0.6491 GB, free: 9.781 MB / 494.1 MB " [Timeout remaining time 646] (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 --stepSize=0.000201597 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.700926669873297]