Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.001389/0.001389, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001165/0.001165, allocations: 169.9 kB / 24.91 MB, free: 9.191 MB / 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.063/1.063, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.275/0.275, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 323.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.665e-05, allocations: 3.016 kB / 323.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02443/0.02445, allocations: 24.1 MB / 347.4 MB, free: 1.422 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008324/0.03278, allocations: 9.244 MB / 356.7 MB, free: 8.145 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.986e-05/0.03286, allocations: 0 / 356.7 MB, free: 8.145 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.0332, allocations: 75.58 kB / 356.7 MB, free: 8.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01428/0.04749, allocations: 7.995 MB / 364.7 MB, free: 48 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.048, allocations: 354.9 kB / 365.1 MB, free: 15.7 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004263/0.04842, allocations: 0.5061 MB / 365.6 MB, free: 15.19 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.04847, allocations: 18.55 kB / 365.6 MB, free: 15.17 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.04869, allocations: 259.3 kB / 365.9 MB, free: 14.92 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00514/0.05383, allocations: 5.999 MB / 371.8 MB, free: 8.914 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.05386, allocations: 12 kB / 371.9 MB, free: 8.902 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01395/0.06781, allocations: 11.83 MB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.155e-05/0.06789, allocations: 99.7 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.254e-05/0.06798, allocations: 115.7 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008353/0.07633, allocations: 7.517 MB / 391.4 MB, free: 5.305 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.07634, allocations: 0 / 391.4 MB, free: 5.305 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.07634, allocations: 0 / 391.4 MB, free: 5.305 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.07634, allocations: 3.984 kB / 391.4 MB, free: 5.301 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001988/0.07833, allocations: 1.406 MB / 392.8 MB, free: 3.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.07837, allocations: 12.03 kB / 392.8 MB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.07855, allocations: 56.78 kB / 392.9 MB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.07873, allocations: 176.8 kB / 393.1 MB, free: 3.598 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.07875, allocations: 24.64 kB / 393.1 MB, free: 3.574 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.07878, allocations: 28 kB / 393.1 MB, free: 3.547 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.07916, allocations: 415.3 kB / 393.5 MB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.07917, allocations: 0 / 393.5 MB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.07919, allocations: 12 kB / 393.5 MB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/0.07922, allocations: 24.64 kB / 393.6 MB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005361/0.07976, allocations: 401.4 kB / 394 MB, free: 2.652 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.08082, allocations: 1.335 MB / 395.3 MB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.08123, allocations: 207.4 kB / 395.5 MB, free: 1.051 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.081e-05/0.08129, allocations: 61.47 kB / 395.6 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00575/0.08704, allocations: 3.418 MB / 399 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.08729, allocations: 250.4 kB / 399.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.873e-06/0.08729, allocations: 0 / 399.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008157/0.0881, allocations: 332.1 kB / 399.5 MB, free: 12.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003292/0.08843, allocations: 269 kB / 399.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.08858, allocations: 211.6 kB / 400 MB, free: 12.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.08861, allocations: 29.7 kB / 400 MB, free: 12.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.812e-05/0.08869, allocations: 208 kB / 400.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.36e-05/0.08876, allocations: 126.9 kB / 400.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.514e-05/0.08884, allocations: 110.7 kB / 400.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.08892, allocations: 346.8 kB / 400.8 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.968e-05/0.08897, allocations: 49.28 kB / 400.9 MB, free: 11.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.08919, allocations: 318.5 kB / 401.2 MB, free: 11.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.08955, allocations: 456.9 kB / 401.6 MB, free: 10.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.08956, allocations: 0 / 401.6 MB, free: 10.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005321/0.09009, allocations: 373.4 kB / 402 MB, free: 10.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.0901, allocations: 8 kB / 402 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.09011, allocations: 12 kB / 402 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.09013, allocations: 12 kB / 402 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.09056, allocations: 175.7 kB / 402.2 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002236/0.09078, allocations: 0.6015 MB / 402.8 MB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.09093, allocations: 59.56 kB / 402.8 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.09097, allocations: 36.3 kB / 402.9 MB, free: 9.207 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (65): * Single equations (assignments): 64 * 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.725e-05/0.09107, allocations: 160.4 kB / 403 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.09118, allocations: 47.84 kB / 403.1 MB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004624/0.09164, allocations: 396.5 kB / 403.5 MB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.09165, allocations: 4 kB / 403.5 MB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.09165, allocations: 3.938 kB / 403.5 MB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.09165, allocations: 0 / 403.5 MB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003727/0.09203, allocations: 396.1 kB / 403.9 MB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.09203, allocations: 160 / 403.9 MB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.09222, allocations: 83.94 kB / 403.9 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.09223, allocations: 11.97 kB / 404 MB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.09224, allocations: 8 kB / 404 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001719/0.09241, allocations: 0.5898 MB / 404.6 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.09241, allocations: 4 kB / 404.6 MB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.09268, allocations: 263.4 kB / 404.8 MB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.0927, allocations: 23.83 kB / 404.8 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.09273, allocations: 11.95 kB / 404.9 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.09283, allocations: 23.98 kB / 404.9 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.09286, allocations: 23.91 kB / 404.9 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.09287, allocations: 8 kB / 404.9 MB, free: 7.047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.919e-05/0.09293, allocations: 74.77 kB / 405 MB, free: 6.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09293, allocations: 0 / 405 MB, free: 6.973 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001937/0.09487, allocations: 1.434 MB / 406.4 MB, free: 5.535 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (23): * Single equations (assignments): 22 * 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.003903/0.09877, allocations: 2.202 MB / 408.6 MB, free: 3.312 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004067/0.09918, allocations: 261.9 kB / 408.9 MB, free: 3.059 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.09919, allocations: 4.5 kB / 408.9 MB, free: 3.051 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.09934, allocations: 97.45 kB / 409 MB, free: 2.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.09968, allocations: 110.2 kB / 409.1 MB, free: 2.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2631/0.3628, allocations: 136.8 MB / 0.5331 GB, free: 17.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.561e-05/0.3628, allocations: 85.81 kB / 0.5332 GB, free: 17.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003459/0.3631, allocations: 123.5 kB / 0.5333 GB, free: 16.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.3634, allocations: 153.4 kB / 0.5334 GB, free: 16.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.763e-06/0.3634, allocations: 0 / 0.5334 GB, free: 16.8 MB / 410.7 MB Notification: Performance of Templates: time 0.04244/0.4058, allocations: 45.84 MB / 0.5782 GB, free: 3.227 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.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: 6.765920735895634]