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.001271/0.001271, allocations: 123.4 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.001296/0.001296, allocations: 208.3 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.416/1.416, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2194/0.2194, allocations: 46.92 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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 63.89 kB / 0.491 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.116, allocations: 65.99 MB / 0.5554 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4824/0.5984, allocations: 153.5 MB / 0.7053 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006587/0.605, allocations: 5.157 MB / 0.7103 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.6051, allocations: 3.938 kB / 0.7103 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.6054, allocations: 47.67 kB / 0.7104 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003504/0.6089, allocations: 1.21 MB / 0.7115 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.6093, allocations: 144.8 kB / 0.7117 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006601/0.61, allocations: 394.1 kB / 0.7121 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.258e-05/0.61, allocations: 5.688 kB / 0.7121 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004523/0.6105, allocations: 183.2 kB / 0.7122 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.6108, allocations: 171.5 kB / 0.7124 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.6109, allocations: 12 kB / 0.7124 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.6132, allocations: 1.038 MB / 0.7134 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.6133, allocations: 43.77 kB / 0.7135 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.6135, allocations: 111.5 kB / 0.7136 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002234/0.6157, allocations: 0.8528 MB / 0.7144 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.6157, allocations: 4 kB / 0.7144 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6157, allocations: 0 / 0.7144 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.6157, allocations: 0 / 0.7144 GB, free: 14.62 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.001685/0.6174, allocations: 0.6969 MB / 0.7151 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.6175, allocations: 12.03 kB / 0.7151 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.028e-05/0.6176, allocations: 58.73 kB / 0.7152 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00835/0.6259, allocations: 0.6059 MB / 0.7158 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005961/0.6265, allocations: 271.5 kB / 0.716 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.6266, allocations: 119.4 kB / 0.7161 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.6268, allocations: 23.94 kB / 0.7161 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.6282, allocations: 0.5595 MB / 0.7167 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.6282, allocations: 0 / 0.7167 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.6283, allocations: 19.98 kB / 0.7167 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.6283, allocations: 8 kB / 0.7167 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.6299, allocations: 0.6298 MB / 0.7173 GB, free: 11.46 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.002493/0.6324, allocations: 1.719 MB / 0.719 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.6328, allocations: 142.5 kB / 0.7191 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.633, allocations: 72.81 kB / 0.7192 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008356/0.6338, allocations: 0.7004 MB / 0.7199 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.6339, allocations: 30.56 kB / 0.7199 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.6339, allocations: 4 kB / 0.7199 GB, free: 8.531 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.001133/0.635, allocations: 327.1 kB / 0.7202 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.6351, allocations: 59.34 kB / 0.7203 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.6353, allocations: 191 kB / 0.7205 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.6353, allocations: 33.69 kB / 0.7205 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.6354, allocations: 195.7 kB / 0.7207 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/0.6355, allocations: 71.41 kB / 0.7208 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.6357, allocations: 90.02 kB / 0.7209 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.6358, allocations: 330.8 kB / 0.7212 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.636, allocations: 64.7 kB / 0.7212 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.6363, allocations: 267.8 kB / 0.7215 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/0.6368, allocations: 363.5 kB / 0.7218 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.6368, allocations: 4 kB / 0.7218 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007015/0.6375, allocations: 377.6 kB / 0.7222 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.6375, allocations: 8 kB / 0.7222 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.6376, allocations: 8 kB / 0.7222 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.6376, allocations: 15.97 kB / 0.7222 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.638, allocations: 127.8 kB / 0.7224 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000455/0.6385, allocations: 0.6016 MB / 0.7229 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.6387, allocations: 35.73 kB / 0.723 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/0.6388, allocations: 47.98 kB / 0.723 GB, free: 5.102 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.0001792/0.639, allocations: 153.6 kB / 0.7232 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.939e-05/0.6391, allocations: 15.91 kB / 0.7232 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008785/0.6399, allocations: 436.6 kB / 0.7236 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6399, allocations: 0 / 0.7236 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6399, allocations: 0 / 0.7236 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.6399, allocations: 0 / 0.7236 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009861/0.6409, allocations: 0.6372 MB / 0.7242 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.6409, allocations: 4 kB / 0.7242 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.6412, allocations: 59.89 kB / 0.7243 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.6412, allocations: 4 kB / 0.7243 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.6412, allocations: 8 kB / 0.7243 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004066/0.6416, allocations: 0.6018 MB / 0.7249 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6416, allocations: 0 / 0.7249 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/0.6421, allocations: 297.3 kB / 0.7252 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.6422, allocations: 108.9 kB / 0.7253 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.6422, allocations: 7.953 kB / 0.7253 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.6425, allocations: 11.98 kB / 0.7253 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.6425, allocations: 19.98 kB / 0.7253 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.6426, allocations: 19.98 kB / 0.7253 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001427/0.6427, allocations: 148 kB / 0.7255 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6427, allocations: 0 / 0.7255 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006599/0.6434, allocations: 151.7 kB / 0.7256 GB, free: 2.258 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.001179/0.6446, allocations: 0.9444 MB / 0.7265 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005703/0.6451, allocations: 224 kB / 0.7267 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6451, allocations: 4 kB / 0.7268 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.6453, allocations: 80.27 kB / 0.7268 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005697/0.6459, allocations: 60.73 kB / 0.7269 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004359/0.6503, allocations: 2.878 MB / 0.7297 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.6507, allocations: 0.7285 MB / 0.7304 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007119/0.6514, allocations: 385 kB / 0.7308 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.6516, allocations: 91.38 kB / 0.7309 GB, free: 12.51 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.6516, allocations: 0 / 0.7309 GB, free: 12.51 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03612/0.6877, allocations: 7.44 MB / 0.7381 GB, free: 5.219 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.65, allocations: 0 / 0.7381 GB, free: 5.219 MB / 0.545 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/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: 15.710300643928349]