Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.0009412/0.0009412, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005621/0.005621, allocations: 154.8 kB / 24.69 MB, free: 9.43 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 0.8838/0.8838, allocations: 177.2 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.236/0.236, allocations: 34.25 MB / 295.7 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.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_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 443.5 MB, free: 1.152 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.465e-05/4.742e-05, allocations: 4.812 kB / 443.5 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2789/0.2789, allocations: 132 MB / 0.562 GB, free: 12.27 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.003857/0.2828, allocations: 4.605 MB / 0.5665 GB, free: 7.66 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.2829, allocations: 4 kB / 0.5665 GB, free: 7.656 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.2832, allocations: 51.61 kB / 0.5666 GB, free: 7.605 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.2858, allocations: 1.258 MB / 0.5678 GB, free: 6.344 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.2861, allocations: 150 kB / 0.5679 GB, free: 6.207 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.2865, allocations: 397.9 kB / 0.5683 GB, free: 5.816 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.2865, allocations: 28.66 kB / 0.5683 GB, free: 5.793 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.2868, allocations: 223.3 kB / 0.5685 GB, free: 5.574 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.287, allocations: 159.6 kB / 0.5687 GB, free: 5.418 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.287, allocations: 8 kB / 0.5687 GB, free: 5.41 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.2882, allocations: 0.9436 MB / 0.5696 GB, free: 4.465 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.2883, allocations: 43.83 kB / 0.5697 GB, free: 4.422 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.073e-05/0.2884, allocations: 83.77 kB / 0.5697 GB, free: 4.34 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.2896, allocations: 0.9508 MB / 0.5707 GB, free: 3.387 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2896, allocations: 0 / 0.5707 GB, free: 3.387 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2896, allocations: 3.469 kB / 0.5707 GB, free: 3.387 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2896, allocations: 0 / 0.5707 GB, free: 3.387 MB / 474.7 MB 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.0009167/0.2905, allocations: 0.6163 MB / 0.5713 GB, free: 2.746 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2906, allocations: 16.03 kB / 0.5713 GB, free: 2.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/0.2941, allocations: 0.6344 MB / 0.5719 GB, free: 2.102 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.2945, allocations: 213.4 kB / 0.5721 GB, free: 1.867 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003688/0.2948, allocations: 234.2 kB / 0.5723 GB, free: 1.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.895e-05/0.2949, allocations: 16 kB / 0.5724 GB, free: 1.574 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007564/0.2957, allocations: 0.7345 MB / 0.5731 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2957, allocations: 6.938 kB / 0.5731 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.539e-05/0.2957, allocations: 8 kB / 0.5731 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.2958, allocations: 8 kB / 0.5731 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008236/0.2966, allocations: 0.6223 MB / 0.5737 GB, free: 128 kB / 474.7 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.001288/0.2979, allocations: 1.406 MB / 0.5751 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.2981, allocations: 154.4 kB / 0.5752 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.434e-05/0.2982, allocations: 68.88 kB / 0.5753 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003618/0.2986, allocations: 376 kB / 0.5757 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2986, allocations: 30.56 kB / 0.5757 GB, free: 13.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.2986, allocations: 3.938 kB / 0.5757 GB, free: 13.99 MB / 490.7 MB 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=17): time 0.0006629/0.2992, allocations: 318.9 kB / 0.576 GB, free: 13.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.2993, allocations: 55.41 kB / 0.576 GB, free: 13.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.2994, allocations: 207 kB / 0.5762 GB, free: 13.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.2994, allocations: 29.7 kB / 0.5763 GB, free: 13.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.675e-05/0.2995, allocations: 187.8 kB / 0.5764 GB, free: 13.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.2995, allocations: 63.47 kB / 0.5765 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.553e-05/0.2996, allocations: 98 kB / 0.5766 GB, free: 13.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.2997, allocations: 326.8 kB / 0.5769 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.2998, allocations: 64.7 kB / 0.577 GB, free: 12.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.2999, allocations: 261.1 kB / 0.5772 GB, free: 12.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.3002, allocations: 374.9 kB / 0.5776 GB, free: 11.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3002, allocations: 4 kB / 0.5776 GB, free: 11.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003643/0.3006, allocations: 371.3 kB / 0.5779 GB, free: 11.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3006, allocations: 8 kB / 0.5779 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3006, allocations: 16.08 kB / 0.578 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3006, allocations: 8 kB / 0.578 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.3009, allocations: 129.5 kB / 0.5781 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002572/0.3011, allocations: 0.6016 MB / 0.5787 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.3013, allocations: 43.67 kB / 0.5787 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.3013, allocations: 40 kB / 0.5788 GB, free: 10.57 MB / 490.7 MB 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.0001071/0.3014, allocations: 150.7 kB / 0.5789 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.3015, allocations: 23.84 kB / 0.5789 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007687/0.3022, allocations: 432.6 kB / 0.5793 GB, free: 9.969 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3022, allocations: 0 / 0.5793 GB, free: 9.969 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3022, allocations: 3.938 kB / 0.5793 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3022, allocations: 4 kB / 0.5793 GB, free: 9.961 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.3027, allocations: 496.2 kB / 0.5798 GB, free: 9.418 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.3027, allocations: 4 kB / 0.5798 GB, free: 9.414 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.3028, allocations: 59.09 kB / 0.5799 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3028, allocations: 7.938 kB / 0.5799 GB, free: 9.352 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3029, allocations: 11.98 kB / 0.5799 GB, free: 9.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001967/0.303, allocations: 0.5979 MB / 0.5805 GB, free: 8.719 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3031, allocations: 4.031 kB / 0.5805 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.3033, allocations: 286.8 kB / 0.5808 GB, free: 8.398 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.3033, allocations: 27.89 kB / 0.5808 GB, free: 8.371 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.3033, allocations: 15.94 kB / 0.5808 GB, free: 8.355 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3035, allocations: 7.938 kB / 0.5808 GB, free: 8.348 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.3035, allocations: 23.91 kB / 0.5808 GB, free: 8.324 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.3035, allocations: 19.98 kB / 0.5808 GB, free: 8.305 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.475e-05/0.3036, allocations: 143.1 kB / 0.581 GB, free: 8.164 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3036, allocations: 0 / 0.581 GB, free: 8.164 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004271/0.304, allocations: 151.7 kB / 0.5811 GB, free: 8.016 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.0003533/0.3044, allocations: 242.9 kB / 0.5814 GB, free: 7.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003273/0.3047, allocations: 220.7 kB / 0.5816 GB, free: 7.559 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3047, allocations: 4 kB / 0.5816 GB, free: 7.555 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.532e-05/0.3048, allocations: 78.88 kB / 0.5817 GB, free: 7.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.3051, allocations: 65.39 kB / 0.5817 GB, free: 7.418 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009548/0.3061, allocations: 0.7037 MB / 0.5824 GB, free: 6.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.342e-05/0.3061, allocations: 108.6 kB / 0.5825 GB, free: 6.535 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.3063, allocations: 92.41 kB / 0.5826 GB, free: 6.445 MB / 490.7 MB Notification: Performance of SimCode: time 6.52e-07/0.3063, allocations: 0 / 0.5826 GB, free: 6.445 MB / 490.7 MB Notification: Performance of Templates: time 0.005779/0.3121, allocations: 5.475 MB / 0.5879 GB, free: 0.9922 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.488338588736951]