Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001705/0.001705, allocations: 82.84 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00204/0.00204, allocations: 157 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2796/0.2796, allocations: 34.26 MB / 294.8 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 442.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.222e-05, allocations: 2.281 kB / 442.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.007924/0.007956, allocations: 4.968 MB / 447.7 MB, free: 284 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2087/0.2167, allocations: 2.379 MB / 450 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.296e-05/0.2168, allocations: 2.25 kB / 450 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.217, allocations: 35.09 kB / 450.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003075/0.2201, allocations: 1.127 MB / 451.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.2205, allocations: 165.4 kB / 451.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.2209, allocations: 305.7 kB / 451.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.221, allocations: 7.031 kB / 451.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.2223, allocations: 0.7006 MB / 452.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.2226, allocations: 147.2 kB / 452.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.2227, allocations: 6.406 kB / 452.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.2252, allocations: 1.214 MB / 453.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.395e-05/0.2253, allocations: 42.12 kB / 453.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.2254, allocations: 58.89 kB / 453.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.2266, allocations: 0.5891 MB / 454.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2266, allocations: 1.312 kB / 454.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2266, allocations: 1.031 kB / 454.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2266, allocations: 0 / 454.4 MB, free: 14.5 MB / 366.1 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.0009842/0.2276, allocations: 0.4966 MB / 454.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.2276, allocations: 9.281 kB / 454.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004849/0.2281, allocations: 51.09 kB / 455 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.2284, allocations: 149 kB / 455.1 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.2284, allocations: 16.12 kB / 455.1 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.2285, allocations: 14.44 kB / 455.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.2289, allocations: 325.9 kB / 455.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.2289, allocations: 1.469 kB / 455.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.229, allocations: 10.38 kB / 455.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.229, allocations: 6.281 kB / 455.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.2294, allocations: 237.7 kB / 455.7 MB, free: 13.74 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.2305, allocations: 1.016 MB / 456.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.2307, allocations: 82.61 kB / 456.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.233e-05/0.2308, allocations: 35.56 kB / 456.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008297/0.2316, allocations: 451.7 kB / 457.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.2318, allocations: 188.7 kB / 457.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.2318, allocations: 4 kB / 457.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.000962/0.2328, allocations: 365.2 kB / 457.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.264e-05/0.2329, allocations: 266.8 kB / 458.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.233, allocations: 170.2 kB / 458.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.233, allocations: 32.78 kB / 458.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.2331, allocations: 144.7 kB / 458.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.2331, allocations: 70.3 kB / 458.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.523e-05/0.2332, allocations: 69.8 kB / 458.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.648e-05/0.2333, allocations: 325.6 kB / 458.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.283e-05/0.2334, allocations: 44.59 kB / 458.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.2335, allocations: 187.3 kB / 459.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.2337, allocations: 255.2 kB / 459.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2337, allocations: 1.281 kB / 459.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004281/0.2342, allocations: 259 kB / 459.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2342, allocations: 6.906 kB / 459.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2342, allocations: 9.438 kB / 459.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.2342, allocations: 6.812 kB / 459.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.2347, allocations: 106.8 kB / 459.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002379/0.235, allocations: 0.5861 MB / 460.3 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.2351, allocations: 16.14 kB / 460.3 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.2351, allocations: 21.17 kB / 460.4 MB, free: 9.895 MB / 366.1 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 0.0001112/0.2353, allocations: 145.5 kB / 460.5 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.2353, allocations: 17.72 kB / 460.5 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/0.2357, allocations: 233.2 kB / 460.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.2357, allocations: 1.438 kB / 460.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2358, allocations: 1.469 kB / 460.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.2358, allocations: 2.25 kB / 460.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.2361, allocations: 303.2 kB / 461.1 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2361, allocations: 1.781 kB / 461.1 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.2365, allocations: 57.41 kB / 461.1 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2365, allocations: 5.219 kB / 461.1 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.2365, allocations: 3.781 kB / 461.1 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001869/0.2367, allocations: 0.5878 MB / 461.7 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.2367, allocations: 4.906 kB / 461.7 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.2369, allocations: 142.7 kB / 461.9 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.2369, allocations: 20.12 kB / 461.9 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.237, allocations: 6.891 kB / 461.9 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.2371, allocations: 16.23 kB / 461.9 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.2371, allocations: 16.73 kB / 461.9 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.2372, allocations: 8.594 kB / 461.9 MB, free: 8.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.002e-05/0.2373, allocations: 127 kB / 462 MB, free: 8.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2373, allocations: 0 / 462 MB, free: 8.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006205/0.2379, allocations: 139.8 kB / 462.2 MB, free: 8.449 MB / 366.1 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.00049/0.2384, allocations: 270.2 kB / 462.4 MB, free: 8.312 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004974/0.2389, allocations: 150 kB / 462.6 MB, free: 8.273 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2389, allocations: 1.281 kB / 462.6 MB, free: 8.273 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.2391, allocations: 50.69 kB / 462.6 MB, free: 8.262 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.2395, allocations: 43.75 kB / 462.7 MB, free: 8.254 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.241, allocations: 0.7632 MB / 463.5 MB, free: 7.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.816e-05/0.2411, allocations: 105.2 kB / 463.6 MB, free: 7.754 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002385/0.2413, allocations: 72.72 kB / 463.6 MB, free: 7.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.368e-05/0.2414, allocations: 35.66 kB / 463.7 MB, free: 7.719 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2414, allocations: 0.5312 kB / 463.7 MB, free: 7.719 MB / 366.1 MB Notification: Performance of Templates: time 0.01108/0.2525, allocations: 4.701 MB / 468.4 MB, free: 6.762 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.389446634799242]