Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.001467/0.001467, allocations: 84.25 kB / 22.22 MB, free: 2.281 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.001152/0.001152, allocations: 165.3 kB / 25.61 MB, free: 8.898 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.034/1.034, allocations: 177 MB / 205.9 MB, free: 4.461 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.1896/0.1896, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/2.99e-05, allocations: 4.453 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.0226/0.02263, allocations: 11.17 MB / 391.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009118/0.03175, allocations: 11.6 MB / 402.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002916/0.03204, allocations: 0 / 402.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004756/0.03252, allocations: 63.53 kB / 402.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009976/0.0425, allocations: 3.212 MB / 406.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.04292, allocations: 151.7 kB / 406.2 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004798/0.04772, allocations: 4.057 MB / 410.3 MB, free: 8.355 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.378e-05/0.04781, allocations: 12.59 kB / 410.3 MB, free: 8.344 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.04811, allocations: 199.5 kB / 410.5 MB, free: 8.148 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007517/0.05562, allocations: 7.344 MB / 417.8 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.677e-05/0.05571, allocations: 8 kB / 417.8 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005644/0.06135, allocations: 2.024 MB / 419.9 MB, free: 14.76 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.06146, allocations: 47.77 kB / 419.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.06166, allocations: 91.77 kB / 420 MB, free: 14.62 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005104/0.06676, allocations: 1.75 MB / 421.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.06677, allocations: 0 / 421.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.06677, allocations: 4 kB / 421.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.06678, allocations: 0 / 421.8 MB, free: 12.87 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001775/0.06856, allocations: 0.9618 MB / 422.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.06861, allocations: 12.03 kB / 422.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004822/0.0691, allocations: 156.2 kB / 422.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.06935, allocations: 192.3 kB / 423.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.06937, allocations: 21.03 kB / 423.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.06941, allocations: 28.38 kB / 423.1 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/0.06999, allocations: 447.9 kB / 423.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.07, allocations: 4.125 kB / 423.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.07003, allocations: 20.12 kB / 423.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.07004, allocations: 8 kB / 423.6 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005009/0.07054, allocations: 404.9 kB / 424 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003567/0.07411, allocations: 2.799 MB / 426.8 MB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.07446, allocations: 193.4 kB / 427 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.07452, allocations: 52.22 kB / 427 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03458/0.1091, allocations: 19.62 MB / 446.7 MB, free: 3.727 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006031/0.1097, allocations: 377.1 kB / 447 MB, free: 3.273 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.933e-06/0.1097, allocations: 0 / 447 MB, free: 3.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.001732/0.1114, allocations: 0.6952 MB / 447.7 MB, free: 2.566 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003462/0.1118, allocations: 482.5 kB / 448.2 MB, free: 1.984 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.1119, allocations: 222.7 kB / 448.4 MB, free: 1.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1119, allocations: 33.7 kB / 448.4 MB, free: 1.711 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.873e-05/0.112, allocations: 215.1 kB / 448.6 MB, free: 1.496 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.644e-05/0.1121, allocations: 135.3 kB / 448.8 MB, free: 1.363 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/0.1122, allocations: 103.8 kB / 448.9 MB, free: 1.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1123, allocations: 0.5117 MB / 449.4 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.097e-05/0.1124, allocations: 48.95 kB / 449.4 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.1126, allocations: 401 kB / 449.8 MB, free: 132 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.1129, allocations: 499.5 kB / 450.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1129, allocations: 4 kB / 450.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004409/0.1134, allocations: 416.9 kB / 450.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1134, allocations: 8 kB / 450.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.1134, allocations: 8 kB / 450.7 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.1144, allocations: 327 kB / 451.1 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.1146, allocations: 103.8 kB / 451.2 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006989/0.1153, allocations: 1.829 MB / 453 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.1154, allocations: 19.94 kB / 453 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.1155, allocations: 24 kB / 453 MB, free: 12.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.1156, allocations: 200.4 kB / 453.2 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.1157, allocations: 47.73 kB / 453.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007804/0.1165, allocations: 0.7886 MB / 454.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.1165, allocations: 11.98 kB / 454.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1165, allocations: 4.219 kB / 454.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1165, allocations: 7.984 kB / 454.1 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.1175, allocations: 0.8741 MB / 455 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1175, allocations: 0 / 455 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-05/0.1176, allocations: 43.91 kB / 455 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006382/0.1182, allocations: 219.2 kB / 455.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1182, allocations: 4 kB / 455.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006047/0.1188, allocations: 1.814 MB / 457 MB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1188, allocations: 4 kB / 457 MB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.1193, allocations: 0.5516 MB / 457.6 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.1193, allocations: 31.8 kB / 457.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.1194, allocations: 39.62 kB / 457.7 MB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.1195, allocations: 15.98 kB / 457.7 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.1195, allocations: 27.84 kB / 457.7 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.1195, allocations: 15.98 kB / 457.7 MB, free: 7.734 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001812/0.1197, allocations: 287 kB / 458 MB, free: 7.457 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1197, allocations: 0 / 458 MB, free: 7.457 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001276/0.121, allocations: 454.6 kB / 458.4 MB, free: 7.012 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00107/0.1221, allocations: 0.7199 MB / 459.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003783/0.1224, allocations: 295.1 kB / 459.5 MB, free: 5.988 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1224, allocations: 4.062 kB / 459.5 MB, free: 5.984 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.1226, allocations: 155.8 kB / 459.6 MB, free: 5.816 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.1231, allocations: 167.5 kB / 459.8 MB, free: 5.656 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.06/1.183, allocations: 0.4932 GB / 0.9422 GB, free: 41.69 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/1.183, allocations: 110.4 kB / 0.9423 GB, free: 41.57 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003892/1.183, allocations: 155.9 kB / 0.9424 GB, free: 41.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/1.183, allocations: 166.1 kB / 0.9426 GB, free: 41.27 MB / 458.7 MB Notification: Performance of SimCode: time 3.015e-06/1.183, allocations: 0 / 0.9426 GB, free: 41.27 MB / 458.7 MB Notification: Performance of Templates: time 0.02002/1.203, allocations: 18.62 MB / 0.9608 GB, free: 22.96 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.721895498223603]