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.001928/0.001928, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001891/0.001891, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.673/1.673, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.251/0.251, allocations: 46.93 MB / 357.1 MB, free: 10.32 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+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 0.002323/0.002323, allocations: 67.84 kB / 0.4914 GB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1648, allocations: 66 MB / 0.5559 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.5139/0.6787, allocations: 153.5 MB / 0.7057 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007415/0.6861, allocations: 5.157 MB / 0.7108 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/0.6863, allocations: 0 / 0.7108 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.6867, allocations: 55.64 kB / 0.7108 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003824/0.6905, allocations: 1.21 MB / 0.712 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.6909, allocations: 145.5 kB / 0.7122 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005861/0.6915, allocations: 398.1 kB / 0.7125 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.106e-05/0.6915, allocations: 5.688 kB / 0.7125 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.6918, allocations: 175.3 kB / 0.7127 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003478/0.6922, allocations: 175.5 kB / 0.7129 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.6922, allocations: 8 kB / 0.7129 GB, free: 356 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.6945, allocations: 1.042 MB / 0.7139 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.345e-05/0.6946, allocations: 47.81 kB / 0.7139 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.6948, allocations: 107.5 kB / 0.714 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.6968, allocations: 0.8575 MB / 0.7149 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6968, allocations: 0 / 0.7149 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6968, allocations: 0 / 0.7149 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.6968, allocations: 0 / 0.7149 GB, free: 14.3 MB / 0.5294 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.001948/0.6987, allocations: 0.6931 MB / 0.7156 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.6988, allocations: 12.02 kB / 0.7156 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008318/0.7071, allocations: 0.6136 MB / 0.7162 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.7076, allocations: 267.7 kB / 0.7164 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.7078, allocations: 123.4 kB / 0.7165 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.7079, allocations: 24 kB / 0.7166 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.7093, allocations: 0.5595 MB / 0.7171 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.7093, allocations: 0 / 0.7171 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.931e-05/0.7094, allocations: 16 kB / 0.7171 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.7094, allocations: 8 kB / 0.7171 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.711, allocations: 0.626 MB / 0.7177 GB, free: 11.21 MB / 0.5294 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.00293/0.714, allocations: 1.719 MB / 0.7194 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/0.7144, allocations: 146.5 kB / 0.7196 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.7146, allocations: 76.8 kB / 0.7196 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009926/0.7156, allocations: 0.6926 MB / 0.7203 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.7156, allocations: 42.55 kB / 0.7204 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.7156, allocations: 0 / 0.7204 GB, free: 8.27 MB / 0.5294 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=17): time 0.001182/0.7168, allocations: 320.3 kB / 0.7207 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.7169, allocations: 63.34 kB / 0.7207 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.7171, allocations: 191 kB / 0.7209 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.7173, allocations: 33.7 kB / 0.7209 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.7174, allocations: 191.8 kB / 0.7211 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.7175, allocations: 67.41 kB / 0.7212 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.7177, allocations: 94 kB / 0.7213 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.7179, allocations: 326.8 kB / 0.7216 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.7181, allocations: 68.7 kB / 0.7216 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.7184, allocations: 263.8 kB / 0.7219 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005522/0.719, allocations: 366.9 kB / 0.7222 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.719, allocations: 4 kB / 0.7223 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007157/0.7197, allocations: 379.5 kB / 0.7226 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.7197, allocations: 8 kB / 0.7226 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.7197, allocations: 12.09 kB / 0.7226 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.7197, allocations: 11.94 kB / 0.7226 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/0.7202, allocations: 123.8 kB / 0.7228 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004563/0.7206, allocations: 0.6055 MB / 0.7234 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.7209, allocations: 39.73 kB / 0.7234 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.416e-05/0.721, allocations: 43.98 kB / 0.7234 GB, free: 4.848 MB / 0.5294 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.0001596/0.7211, allocations: 151.9 kB / 0.7236 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.7212, allocations: 19.91 kB / 0.7236 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008815/0.7221, allocations: 429.8 kB / 0.724 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.7221, allocations: 4 kB / 0.724 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.7221, allocations: 0 / 0.724 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.7221, allocations: 0 / 0.724 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009848/0.7231, allocations: 0.6321 MB / 0.7246 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.7231, allocations: 4 kB / 0.7246 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.7233, allocations: 63.89 kB / 0.7247 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7233, allocations: 0 / 0.7247 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.7234, allocations: 8.219 kB / 0.7247 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004745/0.7238, allocations: 0.6015 MB / 0.7253 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7238, allocations: 0 / 0.7253 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.7243, allocations: 295.5 kB / 0.7256 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.7244, allocations: 109 kB / 0.7257 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.7244, allocations: 7.953 kB / 0.7257 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.7247, allocations: 19.97 kB / 0.7257 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.7247, allocations: 19.97 kB / 0.7257 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.7248, allocations: 19.98 kB / 0.7257 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001627/0.725, allocations: 140.2 kB / 0.7259 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.725, allocations: 0 / 0.7259 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000687/0.7256, allocations: 159.6 kB / 0.726 GB, free: 2.004 MB / 0.5294 GB 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.000481/0.7261, allocations: 234.8 kB / 0.7262 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005706/0.7267, allocations: 221.5 kB / 0.7265 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7267, allocations: 0 / 0.7265 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.7269, allocations: 80.33 kB / 0.7265 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000571/0.7275, allocations: 68.09 kB / 0.7266 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.7292, allocations: 0.7057 MB / 0.7273 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.7296, allocations: 0.7168 MB / 0.728 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006968/0.7303, allocations: 389 kB / 0.7284 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.7305, allocations: 67.38 kB / 0.7284 GB, free: 15.46 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.7305, allocations: 0 / 0.7284 GB, free: 15.46 MB / 0.545 GB Notification: Performance of Templates: time 0.0113/0.7418, allocations: 5.269 MB / 0.7336 GB, free: 10.24 MB / 0.545 GB " [Timeout remaining time 659] 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: 6.584406599402428]