Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.0009967/0.0009967, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.0009935/0.0009935, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 18.57 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.088/1.088, allocations: 177.1 MB / 205.3 MB, free: 5.109 MB / 186.7 MB " [Timeout remaining time 179] 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.2761/0.2761, allocations: 34.26 MB / 296.1 MB, free: 0.6914 MB / 266.7 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.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.604e-05, allocations: 8.703 kB / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.007377/0.007403, allocations: 5.396 MB / 330.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.01062, allocations: 2.736 MB / 333.4 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.01072, allocations: 4 kB / 333.4 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.01102, allocations: 39.77 kB / 333.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003244/0.01426, allocations: 1.249 MB / 334.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.01456, allocations: 159.7 kB / 334.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004368/0.015, allocations: 338.4 kB / 335.2 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.01504, allocations: 10.41 kB / 335.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009497/0.01599, allocations: 0.7645 MB / 336 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.01631, allocations: 147.7 kB / 336.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.01635, allocations: 8 kB / 336.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.01821, allocations: 1.302 MB / 337.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/0.01828, allocations: 39.81 kB / 337.5 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.534e-05/0.01835, allocations: 63.84 kB / 337.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00091/0.01926, allocations: 0.5571 MB / 338.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.01926, allocations: 0 / 338.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.01927, allocations: 4 kB / 338.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.01927, allocations: 4 kB / 338.1 MB, free: 10.82 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008016/0.02007, allocations: 488.6 kB / 338.6 MB, free: 10.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.02011, allocations: 12.03 kB / 338.6 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003168/0.02043, allocations: 84.67 kB / 338.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.02064, allocations: 145.5 kB / 338.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.02065, allocations: 16.38 kB / 338.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.02068, allocations: 20.31 kB / 338.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.02094, allocations: 296.7 kB / 339.1 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.02095, allocations: 0 / 339.1 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.02097, allocations: 12 kB / 339.1 MB, free: 9.668 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.02098, allocations: 4 kB / 339.1 MB, free: 9.664 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.02115, allocations: 139.9 kB / 339.3 MB, free: 9.527 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008189/0.02197, allocations: 0.9334 MB / 340.2 MB, free: 8.551 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.0221, allocations: 62.55 kB / 340.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.06e-05/0.02213, allocations: 28.83 kB / 340.3 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000681/0.02281, allocations: 0.4927 MB / 340.8 MB, free: 7.941 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.02299, allocations: 173.6 kB / 341 MB, free: 7.727 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 1.904e-06/0.02299, allocations: 0 / 341 MB, free: 7.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003112/0.02331, allocations: 165.9 kB / 341.1 MB, free: 7.559 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.953e-05/0.02341, allocations: 265 kB / 341.4 MB, free: 7.238 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.557e-05/0.0235, allocations: 164.5 kB / 341.5 MB, free: 7.066 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.02352, allocations: 29.7 kB / 341.6 MB, free: 7.031 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.02359, allocations: 152 kB / 341.7 MB, free: 6.879 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.02362, allocations: 63.47 kB / 341.8 MB, free: 6.816 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.02368, allocations: 65.89 kB / 341.8 MB, free: 6.746 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.02377, allocations: 322.8 kB / 342.2 MB, free: 6.422 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.774e-05/0.0238, allocations: 24.92 kB / 342.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.0239, allocations: 174.7 kB / 342.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.02407, allocations: 227.1 kB / 342.6 MB, free: 5.871 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.02407, allocations: 4 kB / 342.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001819/0.02425, allocations: 193.1 kB / 342.8 MB, free: 5.672 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.02427, allocations: 12.59 kB / 342.8 MB, free: 5.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.02428, allocations: 8 kB / 342.8 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.0243, allocations: 8 kB / 342.8 MB, free: 5.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.02454, allocations: 83.88 kB / 342.9 MB, free: 5.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002731/0.02481, allocations: 0.586 MB / 343.5 MB, free: 4.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.02493, allocations: 31.78 kB / 343.5 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.02495, allocations: 19.98 kB / 343.5 MB, free: 4.902 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.02506, allocations: 140.4 kB / 343.7 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.02509, allocations: 19.98 kB / 343.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.02536, allocations: 210.4 kB / 343.9 MB, free: 4.508 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.02536, allocations: 0 / 343.9 MB, free: 4.508 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.02536, allocations: 4 kB / 343.9 MB, free: 4.504 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.02537, allocations: 3.938 kB / 343.9 MB, free: 4.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.02566, allocations: 272.4 kB / 344.2 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.02567, allocations: 4 kB / 344.2 MB, free: 4.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.0258, allocations: 39.91 kB / 344.2 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.02581, allocations: 4 kB / 344.2 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.02582, allocations: 4.094 kB / 344.2 MB, free: 4.156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002482/0.02606, allocations: 0.586 MB / 344.8 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.02607, allocations: 7.969 kB / 344.8 MB, free: 3.539 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.02618, allocations: 106.8 kB / 344.9 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.02622, allocations: 15.91 kB / 344.9 MB, free: 3.395 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.02624, allocations: 4 kB / 344.9 MB, free: 3.391 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.207e-05/0.02631, allocations: 11.92 kB / 344.9 MB, free: 3.379 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.02632, allocations: 11.98 kB / 344.9 MB, free: 3.367 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.02633, allocations: 4 kB / 345 MB, free: 3.363 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.843e-05/0.02637, allocations: 48.86 kB / 345 MB, free: 3.312 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02637, allocations: 0 / 345 MB, free: 3.312 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003454/0.02672, allocations: 139.7 kB / 345.1 MB, free: 3.176 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000387/0.02711, allocations: 251.9 kB / 345.4 MB, free: 2.922 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002939/0.0274, allocations: 137.4 kB / 345.5 MB, free: 2.789 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.02741, allocations: 4 kB / 345.5 MB, free: 2.785 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.933e-05/0.02749, allocations: 45.08 kB / 345.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.02771, allocations: 59.89 kB / 345.6 MB, free: 2.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.02893, allocations: 0.7731 MB / 346.4 MB, free: 1.871 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.625e-05/0.02896, allocations: 68.34 kB / 346.5 MB, free: 1.785 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.02912, allocations: 71.09 kB / 346.5 MB, free: 1.723 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.02924, allocations: 101.3 kB / 346.6 MB, free: 1.621 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02924, allocations: 0 / 346.6 MB, free: 1.621 MB / 314.7 MB Notification: Performance of Templates: time 0.006975/0.03621, allocations: 5.157 MB / 351.8 MB, free: 12.54 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.284333069808781]