Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008299/0.0008299, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008554/0.0008554, allocations: 156.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9197/0.9197, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2409/0.2409, allocations: 34.24 MB / 294.8 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 3.938 kB / 442.2 MB, free: 1.504 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.135e-05, allocations: 2.281 kB / 442.2 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.1694/0.1695, allocations: 10.14 MB / 452.4 MB, free: 38.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005625/0.1751, allocations: 10.3 MB / 462.7 MB, free: 31.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.1752, allocations: 0 / 462.7 MB, free: 31.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.1755, allocations: 65.22 kB / 462.7 MB, free: 31.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006478/0.182, allocations: 3.183 MB / 465.9 MB, free: 29.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.1823, allocations: 158.8 kB / 466.1 MB, free: 29.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003184/0.1854, allocations: 4.007 MB / 470.1 MB, free: 28.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.125e-05/0.1855, allocations: 18.17 kB / 470.1 MB, free: 28.6 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.1857, allocations: 186.9 kB / 470.3 MB, free: 28.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005214/0.1909, allocations: 7.291 MB / 477.6 MB, free: 26.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.1909, allocations: 8.969 kB / 477.6 MB, free: 26.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002809/0.1937, allocations: 2.012 MB / 479.6 MB, free: 26.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.1938, allocations: 46.97 kB / 479.6 MB, free: 26.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.444e-05/0.1939, allocations: 91.16 kB / 479.7 MB, free: 26.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.1955, allocations: 1.777 MB / 481.5 MB, free: 25.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1956, allocations: 7.234 kB / 481.5 MB, free: 25.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1956, allocations: 0 / 481.5 MB, free: 25.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1956, allocations: 1.156 kB / 481.5 MB, free: 25.6 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001297/0.1969, allocations: 0.8589 MB / 482.4 MB, free: 25.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1969, allocations: 12.78 kB / 482.4 MB, free: 25.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.1969, allocations: 62.89 kB / 482.4 MB, free: 25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003289/0.1973, allocations: 82.81 kB / 482.5 MB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.1976, allocations: 192.2 kB / 482.7 MB, free: 24.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.1976, allocations: 20.78 kB / 482.7 MB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.1976, allocations: 25.47 kB / 482.7 MB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/0.1982, allocations: 0.5309 MB / 483.3 MB, free: 24.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1982, allocations: 5.875 kB / 483.3 MB, free: 24.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.1983, allocations: 15.91 kB / 483.3 MB, free: 24.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1983, allocations: 6.719 kB / 483.3 MB, free: 24.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007322/0.199, allocations: 0.6811 MB / 484 MB, free: 24.34 MB / 410.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.003238/0.2022, allocations: 2.587 MB / 486.6 MB, free: 23.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.2026, allocations: 209.4 kB / 486.8 MB, free: 22.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.984e-05/0.2027, allocations: 70.12 kB / 486.8 MB, free: 22.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03589/0.2386, allocations: 21.26 MB / 0.4962 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004924/0.2391, allocations: 340 kB / 0.4965 GB, free: 14.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.094e-06/0.2391, allocations: 0 / 0.4965 GB, free: 14.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.0018/0.2409, allocations: 0.9934 MB / 0.4975 GB, free: 13.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.2409, allocations: 482.5 kB / 0.4979 GB, free: 12.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.408e-05/0.241, allocations: 166.4 kB / 0.4981 GB, free: 12.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.241, allocations: 37.7 kB / 0.4981 GB, free: 12.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.2411, allocations: 172.3 kB / 0.4983 GB, free: 12.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.2411, allocations: 130.9 kB / 0.4984 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.2412, allocations: 94.14 kB / 0.4985 GB, free: 12.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.455e-05/0.2412, allocations: 334.8 kB / 0.4988 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.305e-05/0.2413, allocations: 72.95 kB / 0.4989 GB, free: 11.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.2414, allocations: 317.3 kB / 0.4992 GB, free: 11.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.2417, allocations: 450.5 kB / 0.4996 GB, free: 10.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2417, allocations: 4 kB / 0.4996 GB, free: 10.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004142/0.2421, allocations: 451.8 kB / 0.5001 GB, free: 10.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2421, allocations: 8 kB / 0.5001 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.2421, allocations: 8 kB / 0.5001 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009448/0.2431, allocations: 318.5 kB / 0.5004 GB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.2432, allocations: 103.8 kB / 0.5005 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002853/0.2435, allocations: 1.223 MB / 0.5017 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.2436, allocations: 21.62 kB / 0.5017 GB, free: 8.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.2437, allocations: 28 kB / 0.5017 GB, free: 8.543 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.682e-05/0.2438, allocations: 169.8 kB / 0.5019 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.2438, allocations: 27.86 kB / 0.5019 GB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006922/0.2445, allocations: 1.115 MB / 0.503 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.2445, allocations: 11.98 kB / 0.503 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.2445, allocations: 0 / 0.503 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2445, allocations: 4 kB / 0.503 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007262/0.2453, allocations: 1.246 MB / 0.5042 GB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2453, allocations: 4 kB / 0.5042 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/0.2453, allocations: 43.92 kB / 0.5043 GB, free: 5.828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005526/0.2459, allocations: 232.9 kB / 0.5045 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.2459, allocations: 15.92 kB / 0.5045 GB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002279/0.2461, allocations: 1.267 MB / 0.5058 GB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2461, allocations: 7.969 kB / 0.5058 GB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.2465, allocations: 0.6256 MB / 0.5064 GB, free: 3.586 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.2465, allocations: 35.72 kB / 0.5064 GB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.2465, allocations: 43.62 kB / 0.5065 GB, free: 3.508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.2467, allocations: 23.91 kB / 0.5065 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/0.2467, allocations: 23.91 kB / 0.5065 GB, free: 3.461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.2467, allocations: 16.19 kB / 0.5065 GB, free: 3.445 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001451/0.2468, allocations: 275.1 kB / 0.5068 GB, free: 3.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2468, allocations: 0 / 0.5068 GB, free: 3.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009366/0.2478, allocations: 450.6 kB / 0.5072 GB, free: 2.738 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001194/0.249, allocations: 1.756 MB / 0.5089 GB, free: 0.918 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003432/0.2493, allocations: 364.8 kB / 0.5093 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2493, allocations: 4 kB / 0.5093 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.2494, allocations: 201.4 kB / 0.5095 GB, free: 360 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.2499, allocations: 117.3 kB / 0.5096 GB, free: 244 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7171/0.967, allocations: 0.495 GB / 1.005 GB, free: 26.37 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.908e-05/0.9671, allocations: 228.4 kB / 1.005 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002411/0.9674, allocations: 156.7 kB / 1.005 GB, free: 26 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.9675, allocations: 172.4 kB / 1.005 GB, free: 25.83 MB / 0.5261 GB Notification: Performance of SimCode: time 1.212e-06/0.9675, allocations: 0 / 1.005 GB, free: 25.83 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.9916, allocations: 21.24 MB / 1.026 GB, free: 4.871 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/9.026, allocations: 4.062 kB / 1.026 GB, free: 4.867 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.495548163540661]