Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.008039/0.008039, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 14.72 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.001788/0.001788, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 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.443/1.443, allocations: 230.5 MB / 258.9 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2474/0.2474, allocations: 46.93 MB / 362.3 MB, free: 4.203 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 79.86 kB / 0.4982 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3475, allocations: 66.08 MB / 0.5628 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01411/0.3616, allocations: 11.38 MB / 0.5739 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01457/0.3762, allocations: 11.87 MB / 0.5855 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.3764, allocations: 3.938 kB / 0.5855 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003711/0.3768, allocations: 71.5 kB / 0.5856 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.387, allocations: 3.142 MB / 0.5886 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.3874, allocations: 147.4 kB / 0.5888 GB, free: 9.523 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006346/0.3938, allocations: 3.971 MB / 0.5926 GB, free: 5.547 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.721e-05/0.3938, allocations: 16.52 kB / 0.5927 GB, free: 5.535 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.394, allocations: 143.5 kB / 0.5928 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01114/0.4052, allocations: 7.25 MB / 0.5999 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.693e-05/0.4052, allocations: 8 kB / 0.5999 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005734/0.411, allocations: 2.15 MB / 0.602 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.4111, allocations: 47.75 kB / 0.602 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.4113, allocations: 131.4 kB / 0.6021 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003852/0.4151, allocations: 1.539 MB / 0.6037 GB, free: 10.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4152, allocations: 0 / 0.6037 GB, free: 10.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4152, allocations: 0 / 0.6037 GB, free: 10.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.4152, allocations: 0 / 0.6037 GB, free: 10.26 MB / 446.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.002248/0.4174, allocations: 0.8739 MB / 0.6045 GB, free: 9.352 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.4175, allocations: 8.031 kB / 0.6045 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006429/0.4181, allocations: 80.73 kB / 0.6046 GB, free: 9.266 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.4185, allocations: 190.2 kB / 0.6048 GB, free: 9.055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.4185, allocations: 17.03 kB / 0.6048 GB, free: 9.035 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.4185, allocations: 28.38 kB / 0.6048 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.4196, allocations: 494.7 kB / 0.6053 GB, free: 8.492 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4196, allocations: 0 / 0.6053 GB, free: 8.492 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.4196, allocations: 12 kB / 0.6053 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.4196, allocations: 8 kB / 0.6053 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.4208, allocations: 0.6966 MB / 0.606 GB, free: 7.773 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.006432/0.4272, allocations: 2.773 MB / 0.6087 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.4279, allocations: 215.2 kB / 0.6089 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.428, allocations: 69.42 kB / 0.609 GB, free: 4.594 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07557/0.5036, allocations: 21.23 MB / 0.6297 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008095/0.5044, allocations: 350.5 kB / 0.63 GB, free: 14.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.505e-06/0.5044, allocations: 0 / 0.63 GB, free: 14.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.003148/0.5076, allocations: 0.9957 MB / 0.631 GB, free: 13.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000273/0.5078, allocations: 486.5 kB / 0.6315 GB, free: 13.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.508, allocations: 150.3 kB / 0.6316 GB, free: 13.16 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.508, allocations: 45.88 kB / 0.6317 GB, free: 13.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.5081, allocations: 164.3 kB / 0.6318 GB, free: 12.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.5082, allocations: 138.9 kB / 0.6319 GB, free: 12.81 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.5083, allocations: 94.06 kB / 0.632 GB, free: 12.71 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.5085, allocations: 330.8 kB / 0.6323 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.5086, allocations: 72.95 kB / 0.6324 GB, free: 12.31 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.509, allocations: 318.2 kB / 0.6327 GB, free: 11.88 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/0.5095, allocations: 448.1 kB / 0.6331 GB, free: 11.33 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.5095, allocations: 4 kB / 0.6331 GB, free: 11.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007643/0.5103, allocations: 443.1 kB / 0.6336 GB, free: 10.88 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5103, allocations: 12.22 kB / 0.6336 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.5103, allocations: 11.94 kB / 0.6336 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/0.5123, allocations: 313.4 kB / 0.6339 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.5126, allocations: 107.8 kB / 0.634 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007837/0.5134, allocations: 1.215 MB / 0.6352 GB, free: 9.176 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.5136, allocations: 23.89 kB / 0.6352 GB, free: 9.152 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/0.5137, allocations: 36.17 kB / 0.6352 GB, free: 9.117 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 (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.0001755/0.5139, allocations: 157.6 kB / 0.6354 GB, free: 8.953 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.28e-05/0.514, allocations: 31.89 kB / 0.6354 GB, free: 8.922 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.5154, allocations: 1.08 MB / 0.6365 GB, free: 7.801 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.5154, allocations: 12 kB / 0.6365 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.5154, allocations: 11.94 kB / 0.6365 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.5154, allocations: 3.984 kB / 0.6365 GB, free: 7.773 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.517, allocations: 1.254 MB / 0.6377 GB, free: 6.453 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/0.517, allocations: 8.125 kB / 0.6377 GB, free: 6.445 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.5172, allocations: 47.86 kB / 0.6378 GB, free: 6.398 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/0.5184, allocations: 245.4 kB / 0.638 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.5185, allocations: 12 kB / 0.638 GB, free: 6.141 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008003/0.5193, allocations: 1.262 MB / 0.6393 GB, free: 4.832 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.5193, allocations: 8.219 kB / 0.6393 GB, free: 4.824 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008176/0.5201, allocations: 0.6183 MB / 0.6399 GB, free: 4.156 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.5201, allocations: 31.78 kB / 0.6399 GB, free: 4.125 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.154e-05/0.5202, allocations: 51.5 kB / 0.6399 GB, free: 4.074 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.5204, allocations: 19.92 kB / 0.64 GB, free: 4.055 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.5205, allocations: 23.97 kB / 0.64 GB, free: 4.031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.5205, allocations: 15.98 kB / 0.64 GB, free: 4.016 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003319/0.5209, allocations: 271.1 kB / 0.6403 GB, free: 3.746 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5209, allocations: 0 / 0.6403 GB, free: 3.746 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001501/0.5224, allocations: 450.6 kB / 0.6407 GB, free: 3.305 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 (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.001372/0.5237, allocations: 0.6577 MB / 0.6413 GB, free: 2.637 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007859/0.5245, allocations: 375.8 kB / 0.6417 GB, free: 2.262 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.5245, allocations: 0 / 0.6417 GB, free: 2.262 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.5248, allocations: 210.9 kB / 0.6419 GB, free: 2.051 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008815/0.5257, allocations: 126.1 kB / 0.642 GB, free: 1.926 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.257/1.782, allocations: 0.4919 GB / 1.134 GB, free: 75.15 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/1.783, allocations: 0.8235 MB / 1.135 GB, free: 74.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/1.783, allocations: 47.42 kB / 1.135 GB, free: 74.26 MB / 0.6231 GB Notification: Performance of SimCode: time 1.373e-06/1.783, allocations: 0 / 1.135 GB, free: 74.26 MB / 0.6231 GB Notification: Performance of Templates: time 0.01633/1.799, allocations: 14.6 MB / 1.149 GB, free: 59.72 MB / 0.6231 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.048818164970726]