Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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.0009612/0.0009612, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009457/0.0009457, allocations: 165 kB / 24.56 MB, free: 16 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 0.924/0.924, allocations: 177.2 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] 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.306/0.306, allocations: 32.8 MB / 294.3 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] 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.Media.TestAllProperties.IncompleteMedia.Glycol47,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.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,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.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.821e-05, allocations: 2.312 kB / 376.1 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.01768/0.01771, allocations: 5.411 MB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.02061, allocations: 2.729 MB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.9e-05/0.02068, allocations: 4 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.02096, allocations: 39.77 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007541/0.0285, allocations: 1.202 MB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.02877, allocations: 163.7 kB / 385.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.02916, allocations: 334.5 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.0292, allocations: 13.73 kB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009414/0.03014, allocations: 0.725 MB / 386.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.03037, allocations: 143.7 kB / 386.8 MB, free: 9.855 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.03039, allocations: 8 kB / 386.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.03195, allocations: 1.248 MB / 388.1 MB, free: 8.598 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.03201, allocations: 35.83 kB / 388.1 MB, free: 8.562 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.997e-05/0.03209, allocations: 59.84 kB / 388.1 MB, free: 8.504 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007409/0.03283, allocations: 0.5688 MB / 388.7 MB, free: 7.934 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.03283, allocations: 0 / 388.7 MB, free: 7.934 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.03283, allocations: 0 / 388.7 MB, free: 7.934 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.03284, allocations: 0 / 388.7 MB, free: 7.934 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.0007842/0.03362, allocations: 0.6006 MB / 389.3 MB, free: 7.297 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.03366, allocations: 8.031 kB / 389.3 MB, free: 7.289 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004012/0.03406, allocations: 80.56 kB / 389.4 MB, free: 7.211 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.03425, allocations: 160.4 kB / 389.6 MB, free: 7.027 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.03426, allocations: 8.375 kB / 389.6 MB, free: 7.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.03429, allocations: 28.31 kB / 389.6 MB, free: 6.992 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.03463, allocations: 309.6 kB / 389.9 MB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.03464, allocations: 3.938 kB / 389.9 MB, free: 6.625 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.03466, allocations: 19.98 kB / 389.9 MB, free: 6.605 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.03467, allocations: 4 kB / 389.9 MB, free: 6.602 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.0349, allocations: 168.6 kB / 390.1 MB, free: 6.438 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000923/0.03583, allocations: 1.368 MB / 391.5 MB, free: 5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.03599, allocations: 82.97 kB / 391.5 MB, free: 4.906 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.03604, allocations: 31.67 kB / 391.6 MB, free: 4.871 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005892/0.03663, allocations: 0.5432 MB / 392.1 MB, free: 4.309 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.03682, allocations: 211.8 kB / 392.3 MB, free: 4.043 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.03682, allocations: 0 / 392.3 MB, free: 4.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007204/0.03754, allocations: 353 kB / 392.7 MB, free: 3.691 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.03762, allocations: 273.1 kB / 392.9 MB, free: 3.363 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.03774, allocations: 217.5 kB / 393.1 MB, free: 3.137 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.03776, allocations: 33.7 kB / 393.2 MB, free: 3.098 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.03784, allocations: 198.9 kB / 393.4 MB, free: 2.898 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.03788, allocations: 67.38 kB / 393.4 MB, free: 2.832 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/0.03796, allocations: 71.3 kB / 393.5 MB, free: 2.754 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.03807, allocations: 0.4962 MB / 394 MB, free: 2.246 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.614e-05/0.03813, allocations: 31.98 kB / 394 MB, free: 2.215 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.03828, allocations: 238.4 kB / 394.3 MB, free: 1.891 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.03852, allocations: 300.8 kB / 394.6 MB, free: 1.504 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.03853, allocations: 0 / 394.6 MB, free: 1.504 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003383/0.03886, allocations: 257.1 kB / 394.8 MB, free: 1.246 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.03888, allocations: 11.94 kB / 394.8 MB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.03889, allocations: 4 kB / 394.8 MB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.03891, allocations: 8 kB / 394.8 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.03922, allocations: 96.53 kB / 394.9 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002858/0.0395, allocations: 0.9088 MB / 395.8 MB, free: 196 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.333e-05/0.03958, allocations: 15.95 kB / 395.9 MB, free: 180 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.0396, allocations: 20 kB / 395.9 MB, free: 160 kB / 362.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.488e-05/0.0397, allocations: 188.3 kB / 396.1 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.03973, allocations: 27.89 kB / 396.1 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.04002, allocations: 232.5 kB / 396.3 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.04003, allocations: 4 kB / 396.3 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.04003, allocations: 4.062 kB / 396.3 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.04003, allocations: 3.984 kB / 396.3 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.04029, allocations: 365.5 kB / 396.7 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.04029, allocations: 0 / 396.7 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.04046, allocations: 55.89 kB / 396.7 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.04047, allocations: 0 / 396.7 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.04048, allocations: 4 kB / 396.7 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002528/0.04073, allocations: 0.8932 MB / 397.6 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.04073, allocations: 96 / 397.6 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.04088, allocations: 171.5 kB / 397.8 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.04092, allocations: 19.89 kB / 397.8 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.04094, allocations: 11.88 kB / 397.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.041, allocations: 8 kB / 397.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.04102, allocations: 11.97 kB / 397.9 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.04104, allocations: 4 kB / 397.9 MB, free: 14.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.763e-05/0.0411, allocations: 167.1 kB / 398 MB, free: 13.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0411, allocations: 0 / 398 MB, free: 13.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003067/0.04141, allocations: 139.7 kB / 398.2 MB, free: 13.72 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.0003225/0.04173, allocations: 270.7 kB / 398.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.04203, allocations: 163.7 kB / 398.6 MB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.04204, allocations: 0 / 398.6 MB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.992e-05/0.04213, allocations: 57.03 kB / 398.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.04237, allocations: 60.11 kB / 398.7 MB, free: 13.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.04357, allocations: 0.7859 MB / 399.5 MB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.701e-05/0.04361, allocations: 68.34 kB / 399.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.04376, allocations: 73.81 kB / 399.6 MB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.04382, allocations: 32.48 kB / 399.7 MB, free: 12.16 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.04382, allocations: 0 / 399.7 MB, free: 12.16 MB / 378.7 MB Notification: Performance of Templates: time 0.006629/0.05045, allocations: 5.313 MB / 405 MB, free: 6.902 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.23974975803867]