Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001136/0.001136, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001152/0.001152, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.008/1.008, allocations: 158.6 MB / 186 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1676/0.1676, allocations: 32.37 MB / 270.7 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 347.7 MB, free: 9.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.05e-05, allocations: 12.22 kB / 347.7 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02486/0.02489, allocations: 27.03 MB / 374.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.03723, allocations: 13.05 MB / 387.8 MB, free: 1.516 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.0374, allocations: 0 / 387.8 MB, free: 1.516 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004446/0.03785, allocations: 79.5 kB / 387.9 MB, free: 1.438 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01869/0.05654, allocations: 8.743 MB / 396.6 MB, free: 8.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008077/0.05734, allocations: 430.5 kB / 397 MB, free: 8.238 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007326/0.05808, allocations: 0.4943 MB / 397.5 MB, free: 7.742 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.356e-05/0.05814, allocations: 12.59 kB / 397.5 MB, free: 7.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003387/0.05848, allocations: 259.3 kB / 397.8 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007159/0.06564, allocations: 6.007 MB / 403.8 MB, free: 1.465 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.269e-05/0.06571, allocations: 20 kB / 403.8 MB, free: 1.445 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01862/0.08434, allocations: 12.15 MB / 416 MB, free: 5.277 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.08453, allocations: 99.64 kB / 416.1 MB, free: 5.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002847/0.08482, allocations: 103.8 kB / 416.2 MB, free: 5.078 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02551/0.1103, allocations: 8.028 MB / 424.2 MB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1103, allocations: 0 / 424.2 MB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1103, allocations: 0 / 424.2 MB, free: 13.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.1103, allocations: 0 / 424.2 MB, free: 13.03 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.004624/0.115, allocations: 1.588 MB / 425.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.115, allocations: 8.031 kB / 425.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.1153, allocations: 63.77 kB / 425.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.1156, allocations: 195.6 kB / 426 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.1156, allocations: 20.66 kB / 426.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.1156, allocations: 28 kB / 426.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006079/0.1163, allocations: 463.2 kB / 426.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1163, allocations: 0 / 426.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.1163, allocations: 16 kB / 426.6 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-05/0.1163, allocations: 32.58 kB / 426.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005898/0.1169, allocations: 495.2 kB / 427.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.1185, allocations: 1.831 MB / 428.9 MB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000623/0.1191, allocations: 252.2 kB / 429.2 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.877e-05/0.1192, allocations: 84.3 kB / 429.2 MB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00713/0.1264, allocations: 3.696 MB / 432.9 MB, free: 4.039 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004204/0.1268, allocations: 284.8 kB / 433.2 MB, free: 3.703 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.104e-06/0.1268, allocations: 3.938 kB / 433.2 MB, free: 3.699 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001722/0.1285, allocations: 0.7699 MB / 434 MB, free: 2.902 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.1286, allocations: 265 kB / 434.2 MB, free: 2.582 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.1288, allocations: 286.4 kB / 434.5 MB, free: 2.285 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.1288, allocations: 29.7 kB / 434.6 MB, free: 2.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.129, allocations: 254.8 kB / 434.8 MB, free: 1.992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.053e-05/0.1291, allocations: 134.9 kB / 434.9 MB, free: 1.859 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.1292, allocations: 131.9 kB / 435.1 MB, free: 1.723 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1294, allocations: 0.5117 MB / 435.6 MB, free: 1.199 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1295, allocations: 73.25 kB / 435.6 MB, free: 1.129 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/0.1299, allocations: 461.3 kB / 436.1 MB, free: 0.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1884/0.3183, allocations: 0.5747 MB / 436.7 MB, free: 92.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-05/0.3183, allocations: 3.531 kB / 436.7 MB, free: 92.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001443/0.3197, allocations: 0.4884 MB / 437.2 MB, free: 92.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.3198, allocations: 9.75 kB / 437.2 MB, free: 92.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.3198, allocations: 10.89 kB / 437.2 MB, free: 92.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.436e-05/0.3198, allocations: 12.56 kB / 437.2 MB, free: 92.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/0.3204, allocations: 184.2 kB / 437.4 MB, free: 92.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005333/0.3209, allocations: 1.811 MB / 439.2 MB, free: 90.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.3212, allocations: 23.84 kB / 439.2 MB, free: 90.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/0.3212, allocations: 43.23 kB / 439.2 MB, free: 90.94 MB / 362.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 (67): * Single equations (assignments): 65 * 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 {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.3214, allocations: 203.5 kB / 439.4 MB, free: 90.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.3216, allocations: 59.05 kB / 439.5 MB, free: 90.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007623/0.3223, allocations: 0.4937 MB / 440 MB, free: 90.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3224, allocations: 2.688 kB / 440 MB, free: 90.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.3224, allocations: 1.531 kB / 440 MB, free: 90.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3224, allocations: 3.969 kB / 440 MB, free: 90.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007437/0.3231, allocations: 0.5787 MB / 440.6 MB, free: 90.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3231, allocations: 1.75 kB / 440.6 MB, free: 90.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.3235, allocations: 92.39 kB / 440.7 MB, free: 90.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3235, allocations: 2.531 kB / 440.7 MB, free: 90.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.3235, allocations: 13.25 kB / 440.7 MB, free: 90.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003643/0.3238, allocations: 1.792 MB / 442.5 MB, free: 88.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3238, allocations: 2 kB / 442.5 MB, free: 88.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.3243, allocations: 391.1 kB / 442.9 MB, free: 88.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.3243, allocations: 27.33 kB / 442.9 MB, free: 88.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.3244, allocations: 10.64 kB / 442.9 MB, free: 88.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.3245, allocations: 13.98 kB / 442.9 MB, free: 88.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.3246, allocations: 20.64 kB / 442.9 MB, free: 88.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.3246, allocations: 14.39 kB / 443 MB, free: 88.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.3247, allocations: 205.1 kB / 443.2 MB, free: 88.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3247, allocations: 0 / 443.2 MB, free: 88.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00476/0.3295, allocations: 1.643 MB / 444.8 MB, free: 87.93 MB / 362.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 (24): * Single equations (assignments): 22 * 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 {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007693/0.3372, allocations: 2.515 MB / 447.3 MB, free: 87.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.3382, allocations: 301.7 kB / 447.6 MB, free: 87.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.3382, allocations: 0 / 447.6 MB, free: 87.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.3385, allocations: 127.8 kB / 447.7 MB, free: 87.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/0.339, allocations: 119.6 kB / 447.8 MB, free: 87.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1255/0.4646, allocations: 140.8 MB / 0.5749 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.084e-05/0.4647, allocations: 93.81 kB / 0.575 GB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004663/0.4651, allocations: 138.7 kB / 0.5751 GB, free: 12.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.4653, allocations: 52.48 kB / 0.5752 GB, free: 12.86 MB / 426.7 MB Notification: Performance of SimCode: time 2.374e-06/0.4653, allocations: 0 / 0.5752 GB, free: 12.86 MB / 426.7 MB Notification: Performance of Templates: time 0.1972/0.6625, allocations: 48.7 MB / 0.6227 GB, free: 127.9 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 7.788176663918421]