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.001268/0.001268, allocations: 112.7 kB / 17.04 MB, free: 5.801 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.001197/0.001197, allocations: 195 kB / 17.98 MB, free: 5.016 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.8/1.8, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2273/0.2273, allocations: 43.52 MB / 314.7 MB, free: 484 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.001563/0.001563, allocations: 64.22 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1319, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03999/0.172, allocations: 30.07 MB / 472 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03125/0.2033, allocations: 17.6 MB / 489.6 MB, free: 6.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007155/0.204, allocations: 11.94 kB / 489.7 MB, free: 6.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.2051, allocations: 222.6 kB / 489.9 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.2063, allocations: 266.3 kB / 490.1 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02779/0.2341, allocations: 6.036 MB / 496.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00206/0.2362, allocations: 0.8304 MB / 497 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005784/0.2367, allocations: 232.8 kB / 497.2 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01794/0.2547, allocations: 5.439 MB / 0.4909 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000691/0.2554, allocations: 246.9 kB / 0.4911 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.2556, allocations: 36 kB / 0.4912 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01781/0.2734, allocations: 6.306 MB / 0.4973 GB, free: 2.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.2737, allocations: 95.67 kB / 0.4974 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004544/0.2742, allocations: 187.1 kB / 0.4976 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01537/0.2896, allocations: 3.836 MB / 0.5013 GB, free: 14.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2896, allocations: 0 / 0.5013 GB, free: 14.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2897, allocations: 4 kB / 0.5013 GB, free: 14.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.2897, allocations: 0 / 0.5013 GB, free: 14.49 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.003984/0.2937, allocations: 1.037 MB / 0.5023 GB, free: 13.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001095/0.2938, allocations: 8.031 kB / 0.5024 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.2971, allocations: 192.4 kB / 0.5025 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009006/0.298, allocations: 350.5 kB / 0.5029 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.503e-05/0.2981, allocations: 24.94 kB / 0.5029 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.463e-05/0.2981, allocations: 28.31 kB / 0.5029 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.3003, allocations: 498.8 kB / 0.5034 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.3003, allocations: 0 / 0.5034 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.3004, allocations: 12 kB / 0.5034 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.3004, allocations: 8 kB / 0.5034 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.3024, allocations: 409.3 kB / 0.5038 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005205/0.3077, allocations: 2.418 MB / 0.5062 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.3096, allocations: 330.3 kB / 0.5065 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000529/0.3101, allocations: 104.8 kB / 0.5066 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04585/0.356, allocations: 16.54 MB / 0.5227 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.3561, allocations: 30.56 kB / 0.5228 GB, free: 6.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 5.319e-06/0.3561, allocations: 4 kB / 0.5228 GB, free: 6.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002176/0.3583, allocations: 0.5244 MB / 0.5233 GB, free: 5.645 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.3584, allocations: 110.8 kB / 0.5234 GB, free: 5.512 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.3588, allocations: 316.5 kB / 0.5237 GB, free: 5.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.3588, allocations: 29.7 kB / 0.5237 GB, free: 5.164 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.359, allocations: 203.6 kB / 0.5239 GB, free: 4.961 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.359, allocations: 47.36 kB / 0.524 GB, free: 4.914 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.3592, allocations: 73.53 kB / 0.524 GB, free: 4.836 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3593, allocations: 342.8 kB / 0.5244 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.3596, allocations: 95.86 kB / 0.5244 GB, free: 4.398 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.3599, allocations: 207.3 kB / 0.5246 GB, free: 4.141 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005783/0.3605, allocations: 300.7 kB / 0.5249 GB, free: 3.801 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3605, allocations: 4 kB / 0.5249 GB, free: 3.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007331/0.3613, allocations: 340.9 kB / 0.5253 GB, free: 3.457 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3613, allocations: 4 kB / 0.5253 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.3613, allocations: 4 kB / 0.5253 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.3614, allocations: 11.94 kB / 0.5253 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.3616, allocations: 67.89 kB / 0.5253 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.3617, allocations: 4 kB / 0.5253 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.3619, allocations: 55.97 kB / 0.5254 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.362, allocations: 8 kB / 0.5254 GB, free: 3.305 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.0001772/0.3621, allocations: 165.6 kB / 0.5256 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.3622, allocations: 31.62 kB / 0.5256 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.3636, allocations: 1.105 MB / 0.5267 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.3637, allocations: 15.97 kB / 0.5267 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3637, allocations: 0 / 0.5267 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3637, allocations: 0 / 0.5267 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007232/0.3644, allocations: 0.6677 MB / 0.5273 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3644, allocations: 0 / 0.5273 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.3646, allocations: 59.88 kB / 0.5274 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3647, allocations: 4 kB / 0.5274 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.3647, allocations: 3.938 kB / 0.5274 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3647, allocations: 0 / 0.5274 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3647, allocations: 0 / 0.5274 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000874/0.3656, allocations: 0.6192 MB / 0.528 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.3657, allocations: 132.4 kB / 0.5281 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.173e-05/0.3658, allocations: 19.69 kB / 0.5282 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.366, allocations: 27.91 kB / 0.5282 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.864e-05/0.3661, allocations: 15.98 kB / 0.5282 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.3661, allocations: 11.92 kB / 0.5282 GB, free: 332 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.3074/0.6735, allocations: 345.2 kB / 0.5285 GB, free: 94.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.82e-07/0.6736, allocations: 0 / 0.5285 GB, free: 94.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003216/0.6768, allocations: 0.8412 MB / 0.5294 GB, free: 94.63 MB / 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.004031/0.6809, allocations: 0.9894 MB / 0.5303 GB, free: 94.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.6819, allocations: 351.8 kB / 0.5307 GB, free: 94.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.682, allocations: 1.562 kB / 0.5307 GB, free: 94.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004629/0.6824, allocations: 259.4 kB / 0.5309 GB, free: 94.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.6835, allocations: 194 kB / 0.5311 GB, free: 94.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.6853, allocations: 1.014 MB / 0.5321 GB, free: 94.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.6857, allocations: 0.8808 MB / 0.5329 GB, free: 93.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004956/0.6863, allocations: 185.5 kB / 0.5331 GB, free: 93.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/0.6864, allocations: 32.25 kB / 0.5332 GB, free: 93.42 MB / 414.1 MB Notification: Performance of SimCode: time 2.194e-06/0.6864, allocations: 1.438 kB / 0.5332 GB, free: 93.42 MB / 414.1 MB Notification: Performance of Templates: time 0.04385/0.7302, allocations: 34.48 MB / 0.5668 GB, free: 68.74 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 -s cvode -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/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