Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002113/0.002113, allocations: 109.7 kB / 18.33 MB, free: 4.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 185.9 kB / 21.5 MB, free: 0.9219 MB / 14.72 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.713/1.713, allocations: 207.6 MB / 232.1 MB, free: 3.121 MB / 174.1 MB " [Timeout remaining time 178] 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.4089/0.4089, allocations: 44.23 MB / 328.4 MB, free: 6.32 MB / 254.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 72.83 kB / 465.6 MB, free: 45.26 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.187, allocations: 61.01 MB / 0.5142 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.5597/0.7467, allocations: 151.8 MB / 0.6625 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008321/0.755, allocations: 7.044 MB / 0.6694 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.7553, allocations: 3.594 kB / 0.6694 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.7557, allocations: 59.05 kB / 0.6695 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005367/0.761, allocations: 1.453 MB / 0.6709 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.7614, allocations: 140 kB / 0.671 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005822/0.762, allocations: 399 kB / 0.6714 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.612e-05/0.762, allocations: 7.812 kB / 0.6714 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.7623, allocations: 169.3 kB / 0.6716 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003113/0.7626, allocations: 176.7 kB / 0.6717 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.7626, allocations: 8.281 kB / 0.6717 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003575/0.7662, allocations: 1.252 MB / 0.673 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.7663, allocations: 49.25 kB / 0.673 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.7665, allocations: 109.1 kB / 0.6731 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003632/0.7702, allocations: 0.9645 MB / 0.674 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.7702, allocations: 0 / 0.674 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.684e-06/0.7702, allocations: 0 / 0.674 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.487e-05/0.7702, allocations: 2.344 kB / 0.6741 GB, free: 14.86 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002322/0.7725, allocations: 0.7281 MB / 0.6748 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/0.7726, allocations: 17.78 kB / 0.6748 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.7834, allocations: 0.5942 MB / 0.6754 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009397/0.7843, allocations: 259.7 kB / 0.6756 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.7845, allocations: 125.8 kB / 0.6757 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.7847, allocations: 22.44 kB / 0.6757 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.7864, allocations: 0.5611 MB / 0.6763 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.7864, allocations: 4.094 kB / 0.6763 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.7866, allocations: 11.42 kB / 0.6763 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/0.7866, allocations: 11.5 kB / 0.6763 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.7887, allocations: 0.6236 MB / 0.6769 GB, free: 13.89 MB / 0.4981 GB 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.003156/0.7919, allocations: 1.652 MB / 0.6785 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004731/0.7923, allocations: 151.7 kB / 0.6787 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.7925, allocations: 71.81 kB / 0.6788 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001995/0.7945, allocations: 1.307 MB / 0.68 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/0.7946, allocations: 41.34 kB / 0.6801 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 3.176e-06/0.7946, allocations: 0 / 0.6801 GB, free: 11.41 MB / 0.4981 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.001526/0.7961, allocations: 332.4 kB / 0.6804 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.7962, allocations: 59.34 kB / 0.6804 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.7964, allocations: 191.4 kB / 0.6806 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.7964, allocations: 29.27 kB / 0.6807 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.7966, allocations: 191.9 kB / 0.6808 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.456e-05/0.7967, allocations: 72.92 kB / 0.6809 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.7969, allocations: 90.16 kB / 0.681 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002344/0.7971, allocations: 327.1 kB / 0.6813 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.7973, allocations: 62.05 kB / 0.6814 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.7977, allocations: 269.2 kB / 0.6816 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006984/0.7984, allocations: 369.8 kB / 0.682 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.7984, allocations: 1.812 kB / 0.682 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008809/0.7993, allocations: 370.6 kB / 0.6823 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.7993, allocations: 6.906 kB / 0.6823 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.7993, allocations: 11.88 kB / 0.6824 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.7994, allocations: 9.203 kB / 0.6824 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.8, allocations: 128.5 kB / 0.6825 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005732/0.8005, allocations: 0.6019 MB / 0.6831 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/0.801, allocations: 45.59 kB / 0.6831 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/0.801, allocations: 44.94 kB / 0.6832 GB, free: 9.355 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 0.0002302/0.8013, allocations: 145.3 kB / 0.6833 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.672e-05/0.8014, allocations: 22.72 kB / 0.6833 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007484/0.8021, allocations: 307 kB / 0.6836 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.8021, allocations: 2.75 kB / 0.6836 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.8021, allocations: 0 / 0.6836 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.8021, allocations: 1.641 kB / 0.6836 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007442/0.8029, allocations: 0.5197 MB / 0.6841 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.8029, allocations: 4.031 kB / 0.6841 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.8031, allocations: 56.25 kB / 0.6842 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.8031, allocations: 3.703 kB / 0.6842 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.8031, allocations: 7.297 kB / 0.6842 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004298/0.8035, allocations: 0.5958 MB / 0.6848 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.8035, allocations: 2 kB / 0.6848 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.8039, allocations: 276.4 kB / 0.685 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.804, allocations: 105.8 kB / 0.6851 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.8041, allocations: 16 kB / 0.6852 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.8043, allocations: 13.17 kB / 0.6852 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.8043, allocations: 15.66 kB / 0.6852 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.8044, allocations: 16.2 kB / 0.6852 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001337/0.8045, allocations: 142.7 kB / 0.6853 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.8045, allocations: 0 / 0.6853 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007386/0.8052, allocations: 187.5 kB / 0.6855 GB, free: 7.777 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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.0007378/0.806, allocations: 330.4 kB / 0.6858 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004723/0.8064, allocations: 215.9 kB / 0.686 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.8064, allocations: 0.5625 kB / 0.686 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.8066, allocations: 80.61 kB / 0.6861 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.8071, allocations: 61.92 kB / 0.6862 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.81, allocations: 1.953 MB / 0.6881 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.8104, allocations: 0.7235 MB / 0.6888 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003862/0.8107, allocations: 103.7 kB / 0.6889 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.8109, allocations: 51.38 kB / 0.6889 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of SimCode: time 1.112e-06/0.8109, allocations: 4 kB / 0.6889 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of Templates: time 0.01124/0.8221, allocations: 6.273 MB / 0.6951 GB, free: 3.305 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.612744324840605]