Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001516/0.001516, allocations: 107.6 kB / 21.19 MB, free: 0.668 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.001978/0.001978, allocations: 205.6 kB / 24.48 MB, free: 3.977 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.654/1.654, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2548/0.2548, allocations: 44.94 MB / 359.6 MB, free: 6.152 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002518/0.002518, allocations: 67.91 kB / 0.4942 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4089, allocations: 65.48 MB / 0.5582 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03997/0.4489, allocations: 27.71 MB / 0.5853 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02545/0.4743, allocations: 15.68 MB / 0.6006 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005616/0.4749, allocations: 15.88 kB / 0.6006 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009052/0.4758, allocations: 194.7 kB / 0.6008 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.4768, allocations: 286.3 kB / 0.601 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02044/0.4972, allocations: 5.999 MB / 0.6069 GB, free: 5.461 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.4988, allocations: 0.8498 MB / 0.6077 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005545/0.4993, allocations: 201 kB / 0.6079 GB, free: 4.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01305/0.5124, allocations: 5.481 MB / 0.6133 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000567/0.5129, allocations: 246.9 kB / 0.6135 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.165e-05/0.513, allocations: 28 kB / 0.6135 GB, free: 14.58 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01308/0.5261, allocations: 6.06 MB / 0.6194 GB, free: 8.508 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.5263, allocations: 95.61 kB / 0.6195 GB, free: 8.414 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.5267, allocations: 163.3 kB / 0.6197 GB, free: 8.254 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009982/0.5367, allocations: 3.854 MB / 0.6235 GB, free: 4.391 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5367, allocations: 0 / 0.6235 GB, free: 4.391 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5367, allocations: 0 / 0.6235 GB, free: 4.391 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.546e-05/0.5367, allocations: 0 / 0.6235 GB, free: 4.391 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.003079/0.5398, allocations: 1.011 MB / 0.6244 GB, free: 3.348 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.5398, allocations: 8.031 kB / 0.6245 GB, free: 3.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.5417, allocations: 204.5 kB / 0.6246 GB, free: 3.141 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006914/0.5424, allocations: 280.9 kB / 0.6249 GB, free: 2.836 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.5424, allocations: 21.03 kB / 0.6249 GB, free: 2.812 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/0.5425, allocations: 28.38 kB / 0.625 GB, free: 2.785 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.5439, allocations: 0.6311 MB / 0.6256 GB, free: 2.078 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.5439, allocations: 4 kB / 0.6256 GB, free: 2.074 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.5439, allocations: 12 kB / 0.6256 GB, free: 2.062 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.544, allocations: 8 kB / 0.6256 GB, free: 2.055 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.5452, allocations: 413.2 kB / 0.626 GB, free: 1.652 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003164/0.5484, allocations: 1.762 MB / 0.6277 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.5496, allocations: 322.2 kB / 0.628 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.5499, allocations: 100.8 kB / 0.6281 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03287/0.5827, allocations: 8.862 MB / 0.6368 GB, free: 6.523 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.245e-05/0.5828, allocations: 34.56 kB / 0.6368 GB, free: 6.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.444e-06/0.5828, allocations: 0 / 0.6368 GB, free: 6.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002499/0.5853, allocations: 0.5273 MB / 0.6373 GB, free: 5.949 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.844e-05/0.5854, allocations: 110.8 kB / 0.6374 GB, free: 5.816 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/0.5859, allocations: 276.1 kB / 0.6377 GB, free: 5.535 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.5859, allocations: 33.64 kB / 0.6377 GB, free: 5.496 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.5861, allocations: 211.9 kB / 0.6379 GB, free: 5.285 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.422e-05/0.5862, allocations: 59.56 kB / 0.638 GB, free: 5.227 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.5863, allocations: 61.7 kB / 0.638 GB, free: 5.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.5865, allocations: 338.8 kB / 0.6384 GB, free: 4.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.5868, allocations: 87.92 kB / 0.6384 GB, free: 4.734 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.5872, allocations: 262.7 kB / 0.6387 GB, free: 4.41 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007667/0.588, allocations: 305.4 kB / 0.639 GB, free: 4.062 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.588, allocations: 0 / 0.639 GB, free: 4.062 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008913/0.5889, allocations: 336 kB / 0.6393 GB, free: 3.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.5889, allocations: 8 kB / 0.6393 GB, free: 3.723 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.5889, allocations: 4.469 kB / 0.6393 GB, free: 3.719 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.589, allocations: 12 kB / 0.6393 GB, free: 3.707 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.5893, allocations: 67.83 kB / 0.6394 GB, free: 3.641 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/0.5893, allocations: 15.92 kB / 0.6394 GB, free: 3.625 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.5896, allocations: 39.77 kB / 0.6395 GB, free: 3.586 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.5896, allocations: 12 kB / 0.6395 GB, free: 3.574 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.0002773/0.5899, allocations: 157.7 kB / 0.6396 GB, free: 3.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.59, allocations: 23.86 kB / 0.6396 GB, free: 3.387 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/0.5919, allocations: 1.167 MB / 0.6408 GB, free: 2.215 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.229e-05/0.592, allocations: 19.91 kB / 0.6408 GB, free: 2.195 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.592, allocations: 4 kB / 0.6408 GB, free: 2.191 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.592, allocations: 4 kB / 0.6408 GB, free: 2.188 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009129/0.5929, allocations: 0.5467 MB / 0.6413 GB, free: 1.609 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.5929, allocations: 4 kB / 0.6413 GB, free: 1.605 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.5931, allocations: 47.95 kB / 0.6414 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.5931, allocations: 0 / 0.6414 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.5931, allocations: 4 kB / 0.6414 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.5932, allocations: 4 kB / 0.6414 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.5932, allocations: 3.938 kB / 0.6414 GB, free: 1.547 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.5944, allocations: 0.6352 MB / 0.642 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.5945, allocations: 51.53 kB / 0.6421 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.841e-05/0.5946, allocations: 31.72 kB / 0.6421 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.5949, allocations: 15.98 kB / 0.6421 GB, free: 0.793 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.595, allocations: 23.91 kB / 0.6421 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.595, allocations: 11.98 kB / 0.6421 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005107/0.5955, allocations: 311.1 kB / 0.6424 GB, free: 464 kB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5955, allocations: 0 / 0.6424 GB, free: 464 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.003655/0.5992, allocations: 0.8538 MB / 0.6433 GB, free: 15.6 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.004795/0.604, allocations: 1.001 MB / 0.6443 GB, free: 14.58 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009537/0.6049, allocations: 349.2 kB / 0.6446 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.6049, allocations: 0 / 0.6446 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004118/0.6053, allocations: 220.4 kB / 0.6448 GB, free: 14.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009306/0.6063, allocations: 148.6 kB / 0.6449 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.6082, allocations: 1.076 MB / 0.646 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.6085, allocations: 276.1 kB / 0.6463 GB, free: 12.49 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.6086, allocations: 39.44 kB / 0.6463 GB, free: 12.45 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/0.6086, allocations: 0 / 0.6463 GB, free: 12.45 MB / 494.1 MB Notification: Performance of Templates: time 0.03703/0.6456, allocations: 20.32 MB / 0.6661 GB, free: 8.137 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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.833016043063253]