Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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.001358/0.001358, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001492/0.001492, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 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.476/1.476, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.222/0.222, allocations: 44.94 MB / 359.6 MB, free: 6.074 MB / 286.1 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.ReferenceAir_pT,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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 71.88 kB / 0.4943 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3649, allocations: 65.48 MB / 0.5582 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01319/0.3781, allocations: 10.15 MB / 0.5682 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01309/0.3911, allocations: 10.3 MB / 0.5782 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.3913, allocations: 0 / 0.5782 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.3916, allocations: 67.56 kB / 0.5783 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009104/0.4007, allocations: 3.1 MB / 0.5813 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.4011, allocations: 159.4 kB / 0.5815 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005975/0.4071, allocations: 3.959 MB / 0.5853 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.6e-05/0.4072, allocations: 20.45 kB / 0.5853 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.4074, allocations: 143.6 kB / 0.5855 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009784/0.4172, allocations: 7.246 MB / 0.5926 GB, free: 4.238 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.4172, allocations: 12 kB / 0.5926 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005194/0.4224, allocations: 2.267 MB / 0.5948 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.4225, allocations: 43.77 kB / 0.5948 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.4227, allocations: 111.6 kB / 0.5949 GB, free: 1.805 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004308/0.427, allocations: 1.711 MB / 0.5966 GB, free: 92 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.427, allocations: 4 kB / 0.5966 GB, free: 88 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.427, allocations: 4 kB / 0.5966 GB, free: 84 kB / 430.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.4271, allocations: 0 / 0.5966 GB, free: 84 kB / 430.1 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.002338/0.4294, allocations: 0.8991 MB / 0.5975 GB, free: 15.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.4294, allocations: 8.031 kB / 0.5975 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006038/0.43, allocations: 84.73 kB / 0.5976 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.4304, allocations: 186.2 kB / 0.5978 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.4304, allocations: 21.02 kB / 0.5978 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.4305, allocations: 32.31 kB / 0.5978 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.4315, allocations: 0.5333 MB / 0.5983 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4315, allocations: 0 / 0.5983 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.4315, allocations: 12 kB / 0.5983 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.4315, allocations: 8 kB / 0.5983 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.4327, allocations: 0.6771 MB / 0.599 GB, free: 13.52 MB / 446.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.006578/0.4393, allocations: 2.568 MB / 0.6015 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/0.44, allocations: 202.2 kB / 0.6017 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.4401, allocations: 73.39 kB / 0.6018 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07813/0.5182, allocations: 22.19 MB / 0.6234 GB, free: 4.363 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007827/0.519, allocations: 354.4 kB / 0.6238 GB, free: 3.957 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.519, allocations: 0 / 0.6238 GB, free: 3.957 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002672/0.5217, allocations: 0.8771 MB / 0.6246 GB, free: 3.074 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002542/0.5219, allocations: 486.5 kB / 0.6251 GB, free: 2.488 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.5221, allocations: 164 kB / 0.6253 GB, free: 2.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.5221, allocations: 33.7 kB / 0.6253 GB, free: 2.281 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.5222, allocations: 164.4 kB / 0.6254 GB, free: 2.117 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.5223, allocations: 142.8 kB / 0.6256 GB, free: 1.977 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.5224, allocations: 86.19 kB / 0.6257 GB, free: 1.887 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.5226, allocations: 330.8 kB / 0.626 GB, free: 1.555 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.5227, allocations: 68.95 kB / 0.626 GB, free: 1.488 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.523, allocations: 309.5 kB / 0.6263 GB, free: 1.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.5236, allocations: 436.2 kB / 0.6268 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.5236, allocations: 8 kB / 0.6268 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006909/0.5243, allocations: 405.1 kB / 0.6272 GB, free: 120 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.5243, allocations: 11.94 kB / 0.6272 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.5243, allocations: 11.98 kB / 0.6272 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.5243, allocations: 12 kB / 0.6272 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/0.5262, allocations: 348.1 kB / 0.6275 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007126/0.5269, allocations: 1.184 MB / 0.6287 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.5272, allocations: 23.94 kB / 0.6287 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.5272, allocations: 28 kB / 0.6287 GB, free: 14.46 MB / 478.1 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 (55): * Single equations (assignments): 53 * 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.000189/0.5274, allocations: 169.2 kB / 0.6289 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.001e-05/0.5275, allocations: 27.86 kB / 0.6289 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.5288, allocations: 1.004 MB / 0.6299 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.5288, allocations: 12.2 kB / 0.6299 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.5288, allocations: 4 kB / 0.6299 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.5288, allocations: 7.969 kB / 0.6299 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.5302, allocations: 1.058 MB / 0.6309 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.5302, allocations: 0 / 0.6309 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.5312, allocations: 151.9 kB / 0.6311 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.5312, allocations: 4 kB / 0.6311 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.5313, allocations: 11.94 kB / 0.6311 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000353/0.5316, allocations: 0.586 MB / 0.6317 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5316, allocations: 4 kB / 0.6317 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006757/0.5323, allocations: 0.5347 MB / 0.6322 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.5323, allocations: 27.8 kB / 0.6322 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.208e-05/0.5324, allocations: 51.56 kB / 0.6323 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.5327, allocations: 11.98 kB / 0.6323 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.5327, allocations: 27.84 kB / 0.6323 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.5327, allocations: 19.98 kB / 0.6323 GB, free: 10.61 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003253/0.5331, allocations: 279.1 kB / 0.6326 GB, free: 10.33 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5331, allocations: 0 / 0.6326 GB, free: 10.33 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001442/0.5345, allocations: 466.5 kB / 0.6331 GB, free: 9.875 MB / 478.1 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00146/0.536, allocations: 0.7005 MB / 0.6337 GB, free: 9.164 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.5375, allocations: 385.9 kB / 0.6341 GB, free: 8.785 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.5375, allocations: 4 kB / 0.6341 GB, free: 8.781 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007513/0.5382, allocations: 201.4 kB / 0.6343 GB, free: 8.586 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008281/0.5391, allocations: 121.9 kB / 0.6344 GB, free: 8.465 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.201/1.74, allocations: 0.537 GB / 1.171 GB, free: 40.96 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/1.74, allocations: 228.2 kB / 1.172 GB, free: 40.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/1.741, allocations: 47.42 kB / 1.172 GB, free: 40.67 MB / 0.6231 GB Notification: Performance of SimCode: time 1.162e-06/1.741, allocations: 0 / 1.172 GB, free: 40.67 MB / 0.6231 GB Notification: Performance of Templates: time 0.01644/1.757, allocations: 13.5 MB / 1.185 GB, free: 27.22 MB / 0.6231 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.069542354904115]