Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00142/0.00142, allocations: 174 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.6 MB / 222.4 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008295/0.0008295, allocations: 90.61 kB / 270.8 MB, free: 8.125 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3186/0.3186, allocations: 43.67 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003012/0.0003012, allocations: 8 kB / 432.3 MB, free: 5.016 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1024, allocations: 58.85 MB / 491.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.2008/0.3032, allocations: 34.4 MB / 0.5133 GB, free: 24.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01671/0.32, allocations: 25.45 MB / 0.5381 GB, free: 2.531 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003678/0.3204, allocations: 10.88 kB / 0.5381 GB, free: 2.523 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005675/0.321, allocations: 191 kB / 0.5383 GB, free: 2.418 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004681/0.3214, allocations: 255.3 kB / 0.5385 GB, free: 2.266 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01344/0.3349, allocations: 4.866 MB / 0.5433 GB, free: 15.97 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.3361, allocations: 1.105 MB / 0.5444 GB, free: 15.57 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.3364, allocations: 211.6 kB / 0.5446 GB, free: 15.49 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01046/0.3468, allocations: 5.384 MB / 0.5498 GB, free: 13 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004149/0.3473, allocations: 242.6 kB / 0.5501 GB, free: 12.91 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.3473, allocations: 12.53 kB / 0.5501 GB, free: 12.91 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01092/0.3583, allocations: 6.024 MB / 0.556 GB, free: 11.51 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.3585, allocations: 71.44 kB / 0.556 GB, free: 11.48 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000286/0.3588, allocations: 198 kB / 0.5562 GB, free: 11.36 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009798/0.3686, allocations: 3.811 MB / 0.5599 GB, free: 9.844 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3686, allocations: 1.312 kB / 0.5599 GB, free: 9.844 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3686, allocations: 0 / 0.5599 GB, free: 9.844 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3687, allocations: 0 / 0.5599 GB, free: 9.844 MB / 394.7 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.003376/0.372, allocations: 0.984 MB / 0.5609 GB, free: 9.086 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3721, allocations: 9 kB / 0.5609 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.3736, allocations: 195.2 kB / 0.5611 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.374, allocations: 331.2 kB / 0.5614 GB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.374, allocations: 32.88 kB / 0.5614 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.3741, allocations: 25.38 kB / 0.5615 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.3752, allocations: 0.4916 MB / 0.5619 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3753, allocations: 5.469 kB / 0.562 GB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.3753, allocations: 11.84 kB / 0.562 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.3753, allocations: 7.562 kB / 0.562 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.3765, allocations: 444.8 kB / 0.5624 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002878/0.3794, allocations: 2.433 MB / 0.5648 GB, free: 5.859 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.3805, allocations: 353.9 kB / 0.5651 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.3808, allocations: 123.9 kB / 0.5652 GB, free: 5.625 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03009/0.4109, allocations: 16.62 MB / 0.5815 GB, free: 8.254 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.411, allocations: 34.56 kB / 0.5815 GB, free: 8.211 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.224e-06/0.411, allocations: 0 / 0.5815 GB, free: 8.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.001954/0.413, allocations: 0.5751 MB / 0.5821 GB, free: 7.629 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.413, allocations: 106.8 kB / 0.5822 GB, free: 7.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.4134, allocations: 312.5 kB / 0.5825 GB, free: 7.188 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.4134, allocations: 33.7 kB / 0.5825 GB, free: 7.148 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.4136, allocations: 207.6 kB / 0.5827 GB, free: 6.941 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.4136, allocations: 51.3 kB / 0.5827 GB, free: 6.891 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.4136, allocations: 4 kB / 0.5827 GB, free: 6.887 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4138, allocations: 342.8 kB / 0.5831 GB, free: 6.543 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.414, allocations: 99.94 kB / 0.5832 GB, free: 6.445 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.4144, allocations: 219.8 kB / 0.5834 GB, free: 6.176 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/0.415, allocations: 322.5 kB / 0.5837 GB, free: 5.812 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.415, allocations: 0 / 0.5837 GB, free: 5.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007338/0.4157, allocations: 357.4 kB / 0.584 GB, free: 5.457 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.4157, allocations: 4 kB / 0.584 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.4158, allocations: 4 kB / 0.584 GB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.4158, allocations: 16.34 kB / 0.584 GB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.4161, allocations: 75.89 kB / 0.5841 GB, free: 5.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.4161, allocations: 15.92 kB / 0.5841 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.4164, allocations: 51.58 kB / 0.5842 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.4165, allocations: 8 kB / 0.5842 GB, free: 5.285 MB / 410.7 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_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 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.000158/0.4166, allocations: 161.7 kB / 0.5843 GB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.4167, allocations: 32.5 kB / 0.5844 GB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.4181, allocations: 1.137 MB / 0.5855 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.4181, allocations: 19.92 kB / 0.5855 GB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4181, allocations: 7.922 kB / 0.5855 GB, free: 3.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4181, allocations: 0 / 0.5855 GB, free: 3.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006901/0.4188, allocations: 0.6639 MB / 0.5862 GB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.4188, allocations: 0 / 0.5862 GB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.419, allocations: 59.95 kB / 0.5862 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4191, allocations: 4 kB / 0.5862 GB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.4191, allocations: 0 / 0.5862 GB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.4191, allocations: 7.938 kB / 0.5862 GB, free: 3.129 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4191, allocations: 0 / 0.5862 GB, free: 3.129 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008196/0.4199, allocations: 0.6317 MB / 0.5868 GB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.4201, allocations: 203.9 kB / 0.587 GB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.4202, allocations: 7.984 kB / 0.587 GB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.4204, allocations: 31.92 kB / 0.5871 GB, free: 2.223 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.4205, allocations: 19.97 kB / 0.5871 GB, free: 2.203 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.4205, allocations: 4 kB / 0.5871 GB, free: 2.199 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000348/0.4209, allocations: 342.8 kB / 0.5874 GB, free: 1.863 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4209, allocations: 0 / 0.5874 GB, free: 1.863 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003194/0.4241, allocations: 0.8471 MB / 0.5883 GB, free: 1.016 MB / 410.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: 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.00571/0.4298, allocations: 1.013 MB / 0.5892 GB, free: 4 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008519/0.4307, allocations: 373.2 kB / 0.5896 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4307, allocations: 0 / 0.5896 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003834/0.4311, allocations: 274.2 kB / 0.5899 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.4321, allocations: 173.8 kB / 0.59 GB, free: 15.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.4337, allocations: 1.267 MB / 0.5913 GB, free: 13.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.4341, allocations: 0.8759 MB / 0.5921 GB, free: 13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004246/0.4346, allocations: 191.8 kB / 0.5923 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.188e-05/0.4347, allocations: 27.44 kB / 0.5923 GB, free: 12.79 MB / 426.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4347, allocations: 0 / 0.5923 GB, free: 12.79 MB / 426.7 MB Notification: Performance of Templates: time 0.0464/0.4811, allocations: 34.13 MB / 0.6257 GB, free: 10.67 MB / 458.7 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches