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.0009008/0.0009008, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001508/0.001508, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.003/1.003, allocations: 177.1 MB / 205 MB, free: 5.602 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.2472/0.2472, allocations: 34.27 MB / 295.7 MB, free: 0.7344 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.984e-06/1.984e-06, allocations: 0 / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.357e-05, allocations: 2.312 kB / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.01656/0.01659, allocations: 5.416 MB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006045/0.02264, allocations: 2.717 MB / 386.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.02275, allocations: 8 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.02305, allocations: 51.67 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005797/0.02885, allocations: 1.241 MB / 387.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.02922, allocations: 155.8 kB / 387.6 MB, free: 8.965 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005583/0.02978, allocations: 338.4 kB / 388 MB, free: 8.633 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.779e-05/0.02984, allocations: 5.812 kB / 388 MB, free: 8.629 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.03114, allocations: 0.8262 MB / 388.8 MB, free: 7.801 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.03142, allocations: 139.7 kB / 388.9 MB, free: 7.664 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.03145, allocations: 8 kB / 389 MB, free: 7.656 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002392/0.03384, allocations: 1.369 MB / 390.3 MB, free: 6.285 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.323e-05/0.03392, allocations: 35.84 kB / 390.4 MB, free: 6.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.03404, allocations: 63.83 kB / 390.4 MB, free: 6.188 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009465/0.03498, allocations: 0.5649 MB / 391 MB, free: 5.621 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.03499, allocations: 0 / 391 MB, free: 5.621 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.03499, allocations: 3.938 kB / 391 MB, free: 5.617 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.035, allocations: 0 / 391 MB, free: 5.617 MB / 362.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.0007695/0.03576, allocations: 0.6006 MB / 391.6 MB, free: 4.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.03581, allocations: 8.031 kB / 391.6 MB, free: 4.973 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003233/0.03613, allocations: 80.62 kB / 391.7 MB, free: 4.895 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.03632, allocations: 152.3 kB / 391.8 MB, free: 4.719 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.03634, allocations: 16.38 kB / 391.8 MB, free: 4.703 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.03636, allocations: 20.36 kB / 391.9 MB, free: 4.684 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005941/0.03696, allocations: 316.6 kB / 392.2 MB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.03697, allocations: 0 / 392.2 MB, free: 4.312 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.03699, allocations: 8 kB / 392.2 MB, free: 4.305 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.037, allocations: 4 kB / 392.2 MB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.03719, allocations: 168.5 kB / 392.3 MB, free: 4.137 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008921/0.03808, allocations: 1.372 MB / 393.7 MB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.03823, allocations: 79.03 kB / 393.8 MB, free: 2.605 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.46e-05/0.03827, allocations: 35.67 kB / 393.8 MB, free: 2.566 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005286/0.0388, allocations: 0.5353 MB / 394.4 MB, free: 2.012 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.03898, allocations: 219.8 kB / 394.6 MB, free: 1.738 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.03898, allocations: 0 / 394.6 MB, free: 1.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006391/0.03962, allocations: 352.2 kB / 394.9 MB, free: 1.387 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.501e-05/0.0397, allocations: 268.9 kB / 395.2 MB, free: 1.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.03982, allocations: 218 kB / 395.4 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.03984, allocations: 37.64 kB / 395.4 MB, free: 0.793 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.03992, allocations: 194.9 kB / 395.6 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.03996, allocations: 75.41 kB / 395.7 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-05/0.04002, allocations: 71.31 kB / 395.8 MB, free: 456 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.04015, allocations: 0.4923 MB / 396.3 MB, free: 15.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/0.0402, allocations: 31.97 kB / 396.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.04033, allocations: 238.5 kB / 396.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.04054, allocations: 304.5 kB / 396.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.04055, allocations: 0 / 396.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002613/0.04081, allocations: 253.4 kB / 397.1 MB, free: 14.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.04082, allocations: 7.938 kB / 397.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.04083, allocations: 8 kB / 397.1 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.04085, allocations: 8 kB / 397.1 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.0411, allocations: 103.8 kB / 397.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003116/0.04141, allocations: 0.8972 MB / 398.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.574e-05/0.04149, allocations: 24.22 kB / 398.1 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.04151, allocations: 24 kB / 398.1 MB, free: 13.85 MB / 378.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 (35): * Single equations (assignments): 34 * 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 9.441e-05/0.04161, allocations: 176.5 kB / 398.3 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.04164, allocations: 23.91 kB / 398.3 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.04193, allocations: 244.3 kB / 398.6 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.04193, allocations: 0 / 398.6 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.04193, allocations: 4 kB / 398.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.04194, allocations: 0 / 398.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.04219, allocations: 373.5 kB / 398.9 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.0422, allocations: 3.984 kB / 398.9 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.04236, allocations: 47.97 kB / 399 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.04237, allocations: 4 kB / 399 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.04238, allocations: 3.984 kB / 399 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002583/0.04264, allocations: 0.8971 MB / 399.9 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.04264, allocations: 4 kB / 399.9 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.04279, allocations: 151.6 kB / 400.1 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.04282, allocations: 31.88 kB / 400.1 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.04285, allocations: 16.03 kB / 400.1 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.504e-05/0.04291, allocations: 4 kB / 400.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.04294, allocations: 7.984 kB / 400.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.04295, allocations: 11.98 kB / 400.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.614e-05/0.04303, allocations: 163.1 kB / 400.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04303, allocations: 0 / 400.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000357/0.04338, allocations: 139.7 kB / 400.4 MB, free: 11.42 MB / 378.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 (12): * Single equations (assignments): 11 * 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.0004408/0.04382, allocations: 262.8 kB / 400.7 MB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.04415, allocations: 160.7 kB / 400.8 MB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.04415, allocations: 0 / 400.8 MB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.076e-05/0.04424, allocations: 59.58 kB / 400.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.0445, allocations: 63.72 kB / 401 MB, free: 10.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.04573, allocations: 0.7802 MB / 401.7 MB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.705e-05/0.04577, allocations: 64.34 kB / 401.8 MB, free: 9.973 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.04591, allocations: 73.88 kB / 401.9 MB, free: 9.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.04596, allocations: 32.48 kB / 401.9 MB, free: 9.863 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.04596, allocations: 0 / 401.9 MB, free: 9.863 MB / 378.7 MB Notification: Performance of Templates: time 0.00786/0.05382, allocations: 5.325 MB / 407.2 MB, free: 4.605 MB / 378.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.36151269916445]