Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2199/0.2199, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 72.11 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3281, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03301/0.3612, allocations: 30.23 MB / 0.5612 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02031/0.3815, allocations: 17.64 MB / 0.5784 GB, free: 1.738 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004927/0.3821, allocations: 7.938 kB / 0.5784 GB, free: 1.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007549/0.3829, allocations: 218.6 kB / 0.5786 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000668/0.3835, allocations: 274.4 kB / 0.5789 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01689/0.4004, allocations: 6.046 MB / 0.5848 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.4017, allocations: 0.842 MB / 0.5856 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004253/0.4021, allocations: 244.7 kB / 0.5858 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01073/0.4129, allocations: 5.454 MB / 0.5912 GB, free: 4.582 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005059/0.4134, allocations: 251 kB / 0.5914 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.246e-05/0.4135, allocations: 28 kB / 0.5914 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01193/0.4254, allocations: 6.33 MB / 0.5976 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.4256, allocations: 87.69 kB / 0.5977 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.4259, allocations: 191.2 kB / 0.5979 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008844/0.4348, allocations: 3.859 MB / 0.6016 GB, free: 9.832 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4348, allocations: 4 kB / 0.6016 GB, free: 9.828 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4348, allocations: 0 / 0.6016 GB, free: 9.828 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.4349, allocations: 0 / 0.6016 GB, free: 9.828 MB / 462.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.002465/0.4373, allocations: 1.041 MB / 0.6027 GB, free: 8.738 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.4374, allocations: 12.03 kB / 0.6027 GB, free: 8.727 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.4391, allocations: 204.2 kB / 0.6029 GB, free: 8.527 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005673/0.4397, allocations: 350.5 kB / 0.6032 GB, free: 8.145 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.4397, allocations: 20.94 kB / 0.6032 GB, free: 8.125 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.4398, allocations: 28.38 kB / 0.6032 GB, free: 8.098 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.4411, allocations: 498.8 kB / 0.6037 GB, free: 7.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4411, allocations: 0 / 0.6037 GB, free: 7.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.4411, allocations: 12 kB / 0.6037 GB, free: 7.559 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.4411, allocations: 8 kB / 0.6037 GB, free: 7.551 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.4424, allocations: 409.2 kB / 0.6041 GB, free: 7.152 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003169/0.4456, allocations: 2.423 MB / 0.6065 GB, free: 4.516 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.4469, allocations: 326.3 kB / 0.6068 GB, free: 4.188 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.4472, allocations: 104.8 kB / 0.6069 GB, free: 4.082 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03602/0.4832, allocations: 18.38 MB / 0.6249 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.4833, allocations: 34.56 kB / 0.6249 GB, free: 15.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 4.648e-06/0.4833, allocations: 3.938 kB / 0.6249 GB, free: 15.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002311/0.4856, allocations: 0.5229 MB / 0.6254 GB, free: 14.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.4857, allocations: 106.8 kB / 0.6255 GB, free: 14.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.4862, allocations: 328.4 kB / 0.6258 GB, free: 14.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.4862, allocations: 25.7 kB / 0.6258 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.4864, allocations: 219.6 kB / 0.626 GB, free: 14.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.4865, allocations: 43.36 kB / 0.6261 GB, free: 14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.4866, allocations: 69.59 kB / 0.6262 GB, free: 13.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4867, allocations: 338.8 kB / 0.6265 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.487, allocations: 91.92 kB / 0.6266 GB, free: 13.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.4874, allocations: 207.3 kB / 0.6268 GB, free: 13.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/0.4881, allocations: 301.4 kB / 0.6271 GB, free: 12.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4881, allocations: 0 / 0.6271 GB, free: 12.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008312/0.4889, allocations: 343.5 kB / 0.6274 GB, free: 12.56 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4889, allocations: 8 kB / 0.6274 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4889, allocations: 3.984 kB / 0.6274 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.489, allocations: 11.94 kB / 0.6274 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.4893, allocations: 72.36 kB / 0.6275 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.4893, allocations: 8 kB / 0.6275 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.4896, allocations: 39.67 kB / 0.6275 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.4896, allocations: 15.98 kB / 0.6275 GB, free: 12.4 MB / 494.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.4898, allocations: 149.7 kB / 0.6277 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.784e-05/0.4899, allocations: 31.62 kB / 0.6277 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.4914, allocations: 1.113 MB / 0.6288 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.4914, allocations: 15.97 kB / 0.6288 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4914, allocations: 0 / 0.6288 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4914, allocations: 4 kB / 0.6288 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007071/0.4921, allocations: 0.6638 MB / 0.6295 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4922, allocations: 0 / 0.6295 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.4924, allocations: 51.95 kB / 0.6295 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.4924, allocations: 3.938 kB / 0.6295 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.4924, allocations: 7.938 kB / 0.6295 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.4924, allocations: 11.92 kB / 0.6295 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.4924, allocations: 4 kB / 0.6295 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009487/0.4934, allocations: 0.6136 MB / 0.6301 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.4935, allocations: 128.4 kB / 0.6303 GB, free: 9.504 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.447e-05/0.4936, allocations: 31.62 kB / 0.6303 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.4938, allocations: 15.98 kB / 0.6303 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.618e-05/0.4939, allocations: 19.97 kB / 0.6303 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.494, allocations: 11.98 kB / 0.6303 GB, free: 9.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003829/0.4943, allocations: 342.9 kB / 0.6307 GB, free: 9.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4943, allocations: 0 / 0.6307 GB, free: 9.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002467/0.4968, allocations: 0.851 MB / 0.6315 GB, free: 8.238 MB / 494.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.004426/0.5013, allocations: 1.009 MB / 0.6325 GB, free: 7.227 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008896/0.5022, allocations: 348.3 kB / 0.6328 GB, free: 6.887 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5022, allocations: 0 / 0.6328 GB, free: 6.887 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003979/0.5026, allocations: 261.4 kB / 0.6331 GB, free: 6.633 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.5037, allocations: 198.2 kB / 0.6332 GB, free: 6.449 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.5053, allocations: 1.056 MB / 0.6343 GB, free: 5.363 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.5058, allocations: 0.8759 MB / 0.6351 GB, free: 4.457 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.833e-05/0.5059, allocations: 35.42 kB / 0.6352 GB, free: 4.422 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5059, allocations: 0 / 0.6352 GB, free: 4.422 MB / 494.1 MB Notification: Performance of Templates: time 0.03352/0.5394, allocations: 20.56 MB / 0.6552 GB, free: 15.88 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches