Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001585/0.001585, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.001985/0.001985, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.591/1.591, allocations: 230.6 MB / 254.8 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2518/0.2518, allocations: 46.92 MB / 357.8 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 67.89 kB / 0.4921 GB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1453, allocations: 66 MB / 0.5565 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03868/0.184, allocations: 30.39 MB / 0.5862 GB, free: 6.852 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3358/0.5198, allocations: 17.68 MB / 0.6035 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005545/0.5204, allocations: 16.62 kB / 0.6035 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008401/0.5212, allocations: 220.8 kB / 0.6037 GB, free: 4.203 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008554/0.5221, allocations: 279.6 kB / 0.604 GB, free: 4.188 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02173/0.5438, allocations: 6.072 MB / 0.6099 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001862/0.5457, allocations: 0.8378 MB / 0.6107 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005151/0.5462, allocations: 208.2 kB / 0.6109 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01328/0.5595, allocations: 5.482 MB / 0.6163 GB, free: 2.066 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007209/0.5602, allocations: 252 kB / 0.6165 GB, free: 2.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.747e-05/0.5603, allocations: 32.84 kB / 0.6165 GB, free: 2.016 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0165/0.5768, allocations: 6.341 MB / 0.6227 GB, free: 1.156 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002448/0.577, allocations: 96.48 kB / 0.6228 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000515/0.5775, allocations: 196.3 kB / 0.623 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.5902, allocations: 3.859 MB / 0.6268 GB, free: 14.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.5902, allocations: 4 kB / 0.6268 GB, free: 14.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5902, allocations: 1.219 kB / 0.6268 GB, free: 14.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.555e-05/0.5902, allocations: 3.984 kB / 0.6268 GB, free: 14.68 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.003818/0.594, allocations: 1.068 MB / 0.6278 GB, free: 13.85 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.5941, allocations: 12.09 kB / 0.6278 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.5959, allocations: 205.3 kB / 0.628 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006814/0.5966, allocations: 358.9 kB / 0.6284 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.5966, allocations: 20.94 kB / 0.6284 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.5967, allocations: 25.31 kB / 0.6284 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.5981, allocations: 492.8 kB / 0.6289 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.5981, allocations: 2.875 kB / 0.6289 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.5981, allocations: 15.62 kB / 0.6289 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.5981, allocations: 7.625 kB / 0.6289 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.5994, allocations: 409.4 kB / 0.6293 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003498/0.6029, allocations: 2.418 MB / 0.6317 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.6041, allocations: 326 kB / 0.632 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.6044, allocations: 98.5 kB / 0.6321 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03777/0.6421, allocations: 18.39 MB / 0.65 GB, free: 9.391 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.6422, allocations: 34.56 kB / 0.6501 GB, free: 9.348 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/0.6422, allocations: 0 / 0.6501 GB, free: 9.348 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002221/0.6444, allocations: 0.525 MB / 0.6506 GB, free: 8.816 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.888e-05/0.6445, allocations: 106.8 kB / 0.6507 GB, free: 8.688 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004178/0.6449, allocations: 332.4 kB / 0.651 GB, free: 8.359 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.6449, allocations: 33.64 kB / 0.651 GB, free: 8.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.6451, allocations: 211.9 kB / 0.6512 GB, free: 8.109 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.6452, allocations: 50.45 kB / 0.6513 GB, free: 8.062 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.6453, allocations: 69.64 kB / 0.6513 GB, free: 7.988 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.6455, allocations: 338.8 kB / 0.6517 GB, free: 7.648 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.6458, allocations: 95.92 kB / 0.6517 GB, free: 7.555 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.6462, allocations: 215.2 kB / 0.652 GB, free: 7.289 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.6468, allocations: 303.4 kB / 0.6522 GB, free: 6.945 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.6468, allocations: 0 / 0.6522 GB, free: 6.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000828/0.6477, allocations: 339.3 kB / 0.6526 GB, free: 6.609 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.6477, allocations: 8.031 kB / 0.6526 GB, free: 6.602 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.6477, allocations: 4 kB / 0.6526 GB, free: 6.598 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.6477, allocations: 11.94 kB / 0.6526 GB, free: 6.586 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.648, allocations: 67.89 kB / 0.6527 GB, free: 6.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.648, allocations: 11.92 kB / 0.6527 GB, free: 6.508 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.6483, allocations: 51.66 kB / 0.6527 GB, free: 6.457 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.6483, allocations: 11.98 kB / 0.6527 GB, free: 6.445 MB / 478.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.0001901/0.6485, allocations: 164 kB / 0.6529 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.6486, allocations: 31.81 kB / 0.6529 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.6502, allocations: 1.099 MB / 0.654 GB, free: 5.148 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.6502, allocations: 15.92 kB / 0.654 GB, free: 5.133 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6502, allocations: 0 / 0.654 GB, free: 5.133 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.6502, allocations: 7.922 kB / 0.654 GB, free: 5.125 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007447/0.651, allocations: 0.6673 MB / 0.6547 GB, free: 4.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.651, allocations: 5.359 kB / 0.6547 GB, free: 4.406 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.6512, allocations: 43.95 kB / 0.6547 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.6512, allocations: 4 kB / 0.6547 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.6512, allocations: 11.94 kB / 0.6547 GB, free: 4.348 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.6512, allocations: 3.938 kB / 0.6547 GB, free: 4.344 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6512, allocations: 0 / 0.6547 GB, free: 4.344 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009775/0.6522, allocations: 0.6273 MB / 0.6553 GB, free: 3.695 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.6523, allocations: 132.6 kB / 0.6555 GB, free: 3.547 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.6524, allocations: 31.77 kB / 0.6555 GB, free: 3.516 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.6526, allocations: 15.92 kB / 0.6555 GB, free: 3.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/0.6527, allocations: 20.84 kB / 0.6555 GB, free: 3.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.6527, allocations: 8 kB / 0.6555 GB, free: 3.473 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004401/0.6532, allocations: 342.9 kB / 0.6559 GB, free: 3.141 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6532, allocations: 0 / 0.6559 GB, free: 3.141 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003566/0.6568, allocations: 0.8539 MB / 0.6567 GB, free: 2.285 MB / 478.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.004278/0.661, allocations: 0.9996 MB / 0.6577 GB, free: 1.363 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009646/0.662, allocations: 352.2 kB / 0.658 GB, free: 1.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.662, allocations: 0 / 0.658 GB, free: 1.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003921/0.6624, allocations: 202.6 kB / 0.6582 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.6635, allocations: 200 kB / 0.6584 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.6653, allocations: 1.069 MB / 0.6594 GB, free: 15.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005369/0.6658, allocations: 0.8796 MB / 0.6603 GB, free: 14.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.6659, allocations: 39.44 kB / 0.6603 GB, free: 14.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.483e-06/0.6659, allocations: 0 / 0.6603 GB, free: 14.6 MB / 494.1 MB Notification: Performance of Templates: time 0.03483/0.7007, allocations: 20.61 MB / 0.6805 GB, free: 10.02 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 10.96730618699803]