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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 105.7 kB / 16.27 MB, free: 5.93 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.001253/0.001253, allocations: 193.6 kB / 17.2 MB, free: 5.574 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.676/1.676, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2238/0.2238, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 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.002087/0.002088, allocations: 68.61 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1389, allocations: 57.79 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03472/0.1736, allocations: 30.08 MB / 470.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02327/0.1969, allocations: 17.59 MB / 488.2 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005976/0.1976, allocations: 11.94 kB / 488.2 MB, free: 7.035 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008627/0.1985, allocations: 218.6 kB / 488.4 MB, free: 6.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006915/0.1992, allocations: 270.4 kB / 488.7 MB, free: 6.555 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02084/0.2201, allocations: 6.026 MB / 494.7 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.2215, allocations: 0.8343 MB / 495.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006117/0.2221, allocations: 232.8 kB / 495.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01468/0.2368, allocations: 5.439 MB / 0.4895 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006172/0.2374, allocations: 243 kB / 0.4897 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.2376, allocations: 28 kB / 0.4897 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0151/0.2527, allocations: 6.173 MB / 0.4958 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.253, allocations: 99.66 kB / 0.4959 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005345/0.2535, allocations: 195.1 kB / 0.496 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.014/0.2675, allocations: 3.828 MB / 0.4998 GB, free: 15.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.2676, allocations: 4 kB / 0.4998 GB, free: 15.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.448e-06/0.2676, allocations: 0 / 0.4998 GB, free: 15.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.2676, allocations: 3.938 kB / 0.4998 GB, free: 15.36 MB / 398.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.003653/0.2713, allocations: 1.041 MB / 0.5008 GB, free: 14.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.2714, allocations: 11.97 kB / 0.5008 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.2731, allocations: 196.4 kB / 0.501 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.2737, allocations: 330.5 kB / 0.5013 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.376e-05/0.2738, allocations: 24.94 kB / 0.5013 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.545e-05/0.2738, allocations: 24.38 kB / 0.5014 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.2753, allocations: 490.8 kB / 0.5018 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.2753, allocations: 4 kB / 0.5018 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.631e-05/0.2753, allocations: 12 kB / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.2754, allocations: 8 kB / 0.5019 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.2767, allocations: 409.2 kB / 0.5022 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00375/0.2805, allocations: 2.426 MB / 0.5046 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.2817, allocations: 326.2 kB / 0.5049 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.2821, allocations: 116.7 kB / 0.505 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03591/0.318, allocations: 16.46 MB / 0.5211 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/0.3181, allocations: 34.56 kB / 0.5211 GB, free: 7.125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/0.3181, allocations: 0 / 0.5211 GB, free: 7.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002271/0.3204, allocations: 0.5205 MB / 0.5216 GB, free: 6.598 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.463e-05/0.3205, allocations: 114.8 kB / 0.5218 GB, free: 6.461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000445/0.3209, allocations: 316.5 kB / 0.5221 GB, free: 6.148 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.321, allocations: 33.7 kB / 0.5221 GB, free: 6.109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.3212, allocations: 211.5 kB / 0.5223 GB, free: 5.898 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.3212, allocations: 55.28 kB / 0.5223 GB, free: 5.844 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.3214, allocations: 69.59 kB / 0.5224 GB, free: 5.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3215, allocations: 338.8 kB / 0.5227 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.3218, allocations: 91.92 kB / 0.5228 GB, free: 5.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/0.3222, allocations: 207.4 kB / 0.523 GB, free: 5.082 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000632/0.3229, allocations: 304.7 kB / 0.5233 GB, free: 4.738 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3229, allocations: 0 / 0.5233 GB, free: 4.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000814/0.3237, allocations: 336.8 kB / 0.5236 GB, free: 4.402 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.3237, allocations: 4 kB / 0.5236 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.3237, allocations: 4.469 kB / 0.5236 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.3238, allocations: 15.92 kB / 0.5237 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.3241, allocations: 71.89 kB / 0.5237 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.3241, allocations: 7.938 kB / 0.5237 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.3244, allocations: 47.67 kB / 0.5238 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.3244, allocations: 11.98 kB / 0.5238 GB, free: 4.242 MB / 414.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.0002139/0.3246, allocations: 157.7 kB / 0.5239 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.797e-05/0.3247, allocations: 35.62 kB / 0.524 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.3264, allocations: 1.109 MB / 0.5251 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.3265, allocations: 19.97 kB / 0.5251 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3265, allocations: 0 / 0.5251 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3265, allocations: 4 kB / 0.5251 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008222/0.3273, allocations: 0.6638 MB / 0.5257 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.3274, allocations: 0 / 0.5257 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.3276, allocations: 55.83 kB / 0.5258 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3276, allocations: 0 / 0.5258 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.3276, allocations: 7.938 kB / 0.5258 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3276, allocations: 7.922 kB / 0.5258 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.3276, allocations: 0 / 0.5258 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009743/0.3286, allocations: 0.6154 MB / 0.5264 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.3288, allocations: 136.3 kB / 0.5265 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-05/0.3289, allocations: 19.69 kB / 0.5265 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.3291, allocations: 19.98 kB / 0.5266 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.3292, allocations: 23.97 kB / 0.5266 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.3292, allocations: 11.92 kB / 0.5266 GB, free: 1.254 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004317/0.3297, allocations: 342.9 kB / 0.5269 GB, free: 0.918 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3297, allocations: 0 / 0.5269 GB, free: 0.918 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003338/0.333, allocations: 0.851 MB / 0.5278 GB, free: 68 kB / 414.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.2217/0.5548, allocations: 0.9876 MB / 0.5287 GB, free: 95.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.5559, allocations: 359.1 kB / 0.5291 GB, free: 95.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.556, allocations: 1.172 kB / 0.5291 GB, free: 95.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004095/0.5564, allocations: 260.8 kB / 0.5293 GB, free: 95.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.5575, allocations: 204.4 kB / 0.5295 GB, free: 95.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.5591, allocations: 1.032 MB / 0.5305 GB, free: 95.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.5595, allocations: 0.8732 MB / 0.5314 GB, free: 94.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004409/0.56, allocations: 182.9 kB / 0.5315 GB, free: 94.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.757e-05/0.5601, allocations: 33.78 kB / 0.5316 GB, free: 94.37 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5601, allocations: 3 kB / 0.5316 GB, free: 94.37 MB / 414.1 MB Notification: Performance of Templates: time 0.04525/0.6053, allocations: 34.6 MB / 0.5654 GB, free: 69.78 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins/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