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.00133/0.00133, allocations: 85.91 kB / 21.43 MB, free: 3.066 MB / 18.57 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.001304/0.001304, allocations: 163.1 kB / 24.82 MB, free: 8.875 MB / 18.57 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.012/1.012, allocations: 177 MB / 205.1 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.2813/0.2813, allocations: 34.86 MB / 296.6 MB, free: 432 kB / 266.7 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.613e-06/1.613e-06, allocations: 0 / 379.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.337e-05, allocations: 4.281 kB / 379.3 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.005226/0.005249, allocations: 5.365 MB / 384.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.007424, allocations: 2.701 MB / 387.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.961e-05/0.007504, allocations: 3.938 kB / 387.3 MB, free: 9.672 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.007746, allocations: 43.7 kB / 387.4 MB, free: 9.629 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.01011, allocations: 1.198 MB / 388.6 MB, free: 8.426 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.01036, allocations: 163.7 kB / 388.7 MB, free: 8.266 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.01071, allocations: 342.5 kB / 389.1 MB, free: 7.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.01074, allocations: 5.812 kB / 389.1 MB, free: 7.926 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008629/0.0116, allocations: 0.7288 MB / 389.8 MB, free: 7.195 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.01186, allocations: 143.7 kB / 389.9 MB, free: 7.055 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.01189, allocations: 4 kB / 389.9 MB, free: 7.051 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.01325, allocations: 1.255 MB / 391.2 MB, free: 5.793 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.01332, allocations: 35.83 kB / 391.2 MB, free: 5.758 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.619e-05/0.0134, allocations: 67.83 kB / 391.3 MB, free: 5.691 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007251/0.01413, allocations: 0.5571 MB / 391.9 MB, free: 5.133 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01413, allocations: 4 kB / 391.9 MB, free: 5.129 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01413, allocations: 0 / 391.9 MB, free: 5.129 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.01414, allocations: 0 / 391.9 MB, free: 5.129 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.000724/0.01486, allocations: 0.5966 MB / 392.5 MB, free: 4.496 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.0149, allocations: 12.03 kB / 392.5 MB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003534/0.01526, allocations: 88.56 kB / 392.6 MB, free: 4.398 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.01543, allocations: 164.4 kB / 392.7 MB, free: 4.211 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.01544, allocations: 12.38 kB / 392.7 MB, free: 4.199 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.01547, allocations: 20.38 kB / 392.7 MB, free: 4.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.01572, allocations: 296.5 kB / 393 MB, free: 3.828 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.01573, allocations: 11.88 kB / 393 MB, free: 3.816 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.01574, allocations: 4 kB / 393.1 MB, free: 3.812 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.01575, allocations: 4 kB / 393.1 MB, free: 3.809 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.01591, allocations: 145.1 kB / 393.2 MB, free: 3.668 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008999/0.01681, allocations: 1.349 MB / 394.5 MB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.01693, allocations: 79 kB / 394.6 MB, free: 2.168 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.132e-05/0.01696, allocations: 31.67 kB / 394.7 MB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005532/0.01752, allocations: 0.5586 MB / 395.2 MB, free: 1.555 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.0177, allocations: 215.8 kB / 395.4 MB, free: 1.285 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.774e-06/0.0177, allocations: 0 / 395.4 MB, free: 1.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005289/0.01823, allocations: 226.7 kB / 395.6 MB, free: 1.059 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/0.01831, allocations: 269 kB / 395.9 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.01841, allocations: 225.6 kB / 396.1 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.01843, allocations: 25.7 kB / 396.2 MB, free: 476 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.939e-05/0.0185, allocations: 194.9 kB / 396.3 MB, free: 276 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.01854, allocations: 67.42 kB / 396.4 MB, free: 208 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.01859, allocations: 75.27 kB / 396.5 MB, free: 124 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.01872, allocations: 0.4962 MB / 397 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.418e-05/0.01876, allocations: 23.97 kB / 397 MB, free: 15.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.01888, allocations: 234.5 kB / 397.2 MB, free: 15.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.01909, allocations: 296.9 kB / 397.5 MB, free: 14.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.0191, allocations: 3.938 kB / 397.5 MB, free: 14.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003003/0.0194, allocations: 237 kB / 397.8 MB, free: 14.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.01941, allocations: 8 kB / 397.8 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.01942, allocations: 8.594 kB / 397.8 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.01944, allocations: 4 kB / 397.8 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.01972, allocations: 111.9 kB / 397.9 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002979/0.02002, allocations: 0.8972 MB / 398.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.347e-05/0.0201, allocations: 8 kB / 398.8 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.02012, allocations: 16 kB / 398.8 MB, free: 13.57 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 0.0001042/0.02023, allocations: 200.3 kB / 399 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.02026, allocations: 19.91 kB / 399 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.02055, allocations: 239.9 kB / 399.3 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.02056, allocations: 0 / 399.3 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.02056, allocations: 3.984 kB / 399.3 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.02057, allocations: 4 kB / 399.3 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.02095, allocations: 330.2 kB / 399.6 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.02095, allocations: 0 / 399.6 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.02122, allocations: 55.89 kB / 399.6 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.02123, allocations: 0 / 399.6 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.02124, allocations: 4 kB / 399.6 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003134/0.02155, allocations: 0.8933 MB / 400.5 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.02155, allocations: 3.938 kB / 400.5 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.02169, allocations: 163.5 kB / 400.7 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.02172, allocations: 15.88 kB / 400.7 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.02174, allocations: 12 kB / 400.7 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.929e-05/0.02181, allocations: 7.984 kB / 400.7 MB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.02183, allocations: 15.92 kB / 400.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.02184, allocations: 4 kB / 400.8 MB, free: 11.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.679e-05/0.02191, allocations: 159.1 kB / 400.9 MB, free: 11.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02191, allocations: 4 kB / 400.9 MB, free: 11.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003753/0.02228, allocations: 143.8 kB / 401.1 MB, free: 11.17 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.0003482/0.02263, allocations: 266.8 kB / 401.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002732/0.0229, allocations: 155 kB / 401.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.02291, allocations: 1.312 kB / 401.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.396e-05/0.02299, allocations: 47.59 kB / 401.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.02324, allocations: 68 kB / 401.6 MB, free: 10.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.02437, allocations: 0.7757 MB / 402.4 MB, free: 9.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.73e-05/0.0244, allocations: 68.34 kB / 402.4 MB, free: 9.734 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.02456, allocations: 85.83 kB / 402.5 MB, free: 9.645 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.02469, allocations: 130.1 kB / 402.6 MB, free: 9.516 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02469, allocations: 0 / 402.6 MB, free: 9.516 MB / 378.7 MB Notification: Performance of Templates: time 0.006578/0.03127, allocations: 5.302 MB / 407.9 MB, free: 4.277 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) [Timeout 240] 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","",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: 3.2232875330373645]