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.001704/0.001704, allocations: 113 kB / 18.49 MB, free: 4.539 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.002093/0.002093, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.537/1.537, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2673/0.2673, allocations: 46.92 MB / 357.8 MB, free: 10.29 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.91 kB / 0.4916 GB, free: 7.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1625, allocations: 66 MB / 0.5561 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.5308/0.6933, allocations: 153.5 MB / 0.706 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007738/0.7011, allocations: 5.165 MB / 0.711 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.7013, allocations: 3.938 kB / 0.711 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005038/0.7018, allocations: 47.67 kB / 0.711 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004841/0.7066, allocations: 1.212 MB / 0.7122 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.707, allocations: 138.7 kB / 0.7124 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006606/0.7077, allocations: 402 kB / 0.7127 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.344e-05/0.7077, allocations: 5.688 kB / 0.7128 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/0.708, allocations: 183.2 kB / 0.7129 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.7083, allocations: 179.5 kB / 0.7131 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.7083, allocations: 8 kB / 0.7131 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.7106, allocations: 1.034 MB / 0.7141 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.464e-05/0.7107, allocations: 47.75 kB / 0.7142 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.7109, allocations: 115.4 kB / 0.7143 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.7123, allocations: 0.845 MB / 0.7151 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7124, allocations: 0 / 0.7151 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7124, allocations: 4 kB / 0.7151 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.7124, allocations: 0 / 0.7151 GB, free: 14.5 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.001485/0.7139, allocations: 0.7009 MB / 0.7158 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.7139, allocations: 8.031 kB / 0.7158 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.916e-05/0.7139, allocations: 8.688 kB / 0.7158 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.048e-05/0.714, allocations: 58.73 kB / 0.7159 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008241/0.7222, allocations: 0.6136 MB / 0.7165 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006085/0.7228, allocations: 263.4 kB / 0.7167 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.723, allocations: 123.4 kB / 0.7168 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.7231, allocations: 24 kB / 0.7168 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.7244, allocations: 0.5595 MB / 0.7174 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.7244, allocations: 0 / 0.7174 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-05/0.7245, allocations: 12 kB / 0.7174 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.7245, allocations: 11.94 kB / 0.7174 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.7261, allocations: 0.6299 MB / 0.718 GB, free: 11.34 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.002382/0.7285, allocations: 1.715 MB / 0.7197 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.7289, allocations: 142.5 kB / 0.7198 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.729, allocations: 72.81 kB / 0.7199 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007897/0.7298, allocations: 0.7043 MB / 0.7206 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.7299, allocations: 34.56 kB / 0.7206 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 2.034e-06/0.7299, allocations: 3.938 kB / 0.7206 GB, free: 8.398 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.001143/0.731, allocations: 331.1 kB / 0.721 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.7311, allocations: 59.34 kB / 0.721 GB, free: 8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.7313, allocations: 187 kB / 0.7212 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.7313, allocations: 29.7 kB / 0.7212 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.7314, allocations: 195.7 kB / 0.7214 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.26e-05/0.7315, allocations: 63.47 kB / 0.7215 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.7316, allocations: 102 kB / 0.7216 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.7318, allocations: 322.8 kB / 0.7219 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.7319, allocations: 68.7 kB / 0.7219 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004255/0.7324, allocations: 267.8 kB / 0.7222 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/0.7329, allocations: 359.6 kB / 0.7225 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.7329, allocations: 4 kB / 0.7225 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006766/0.7336, allocations: 381.2 kB / 0.7229 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.7336, allocations: 11.98 kB / 0.7229 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.7336, allocations: 11.94 kB / 0.7229 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.7336, allocations: 8 kB / 0.7229 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.734, allocations: 123.8 kB / 0.723 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004398/0.7345, allocations: 0.6098 MB / 0.7236 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.7347, allocations: 35.73 kB / 0.7237 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.7348, allocations: 44 kB / 0.7237 GB, free: 4.969 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.0001825/0.735, allocations: 153.5 kB / 0.7239 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.735, allocations: 19.89 kB / 0.7239 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008693/0.7359, allocations: 430.9 kB / 0.7243 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.7359, allocations: 4 kB / 0.7243 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7359, allocations: 0 / 0.7243 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.7359, allocations: 3.984 kB / 0.7243 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009425/0.7369, allocations: 0.6334 MB / 0.7249 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.7369, allocations: 4 kB / 0.7249 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.7371, allocations: 55.91 kB / 0.725 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.7371, allocations: 4 kB / 0.725 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.7371, allocations: 15.92 kB / 0.725 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003708/0.7375, allocations: 0.5899 MB / 0.7256 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7375, allocations: 0 / 0.7256 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/0.7379, allocations: 303.1 kB / 0.7259 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.738, allocations: 112.9 kB / 0.726 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.7381, allocations: 11.95 kB / 0.726 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.7383, allocations: 11.98 kB / 0.726 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.7384, allocations: 15.98 kB / 0.726 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.7384, allocations: 19.94 kB / 0.726 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001685/0.7386, allocations: 144.1 kB / 0.7262 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7386, allocations: 0 / 0.7262 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006943/0.7393, allocations: 155.7 kB / 0.7263 GB, free: 2.125 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.001177/0.7405, allocations: 0.9404 MB / 0.7272 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005731/0.741, allocations: 223.5 kB / 0.7274 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.741, allocations: 4 kB / 0.7274 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.7412, allocations: 75.84 kB / 0.7275 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.7418, allocations: 74.41 kB / 0.7276 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/0.7458, allocations: 2.873 MB / 0.7304 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.7462, allocations: 0.7245 MB / 0.7311 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007473/0.747, allocations: 389 kB / 0.7315 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.7472, allocations: 91.38 kB / 0.7316 GB, free: 12.38 MB / 0.545 GB Notification: Performance of SimCode: time 1.643e-06/0.7472, allocations: 4 kB / 0.7316 GB, free: 12.37 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.7777, allocations: 7.474 MB / 0.7389 GB, free: 5.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.9, allocations: 1.719 kB / 0.7389 GB, free: 5.07 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: 16.462651722016744]