Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 80.38 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1158, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007226/0.1231, allocations: 4.584 MB / 484.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004637/0.1278, allocations: 4.018 MB / 488.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.128, allocations: 0 / 488.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.1283, allocations: 55.59 kB / 488.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.1305, allocations: 0.73 MB / 489.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.1309, allocations: 143.2 kB / 489.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007233/0.1316, allocations: 366.1 kB / 490 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.582e-05/0.1317, allocations: 17.67 kB / 490 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.132, allocations: 135.5 kB / 490.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.1324, allocations: 151.4 kB / 490.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.122e-05/0.1324, allocations: 11.98 kB / 490.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.1336, allocations: 423.5 kB / 490.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.595e-05/0.1337, allocations: 51.75 kB / 490.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.1339, allocations: 103.5 kB / 490.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009548/0.1348, allocations: 471.1 kB / 491.3 MB, free: 9.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1349, allocations: 3.984 kB / 491.3 MB, free: 9.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1349, allocations: 0 / 491.3 MB, free: 9.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1349, allocations: 0 / 491.3 MB, free: 9.93 MB / 366.1 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.001128/0.136, allocations: 0.5892 MB / 491.9 MB, free: 9.289 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1361, allocations: 12.03 kB / 491.9 MB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.54e-05/0.1362, allocations: 58.73 kB / 492 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.1363, allocations: 28.73 kB / 492 MB, free: 9.184 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.1366, allocations: 228 kB / 492.3 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.1368, allocations: 131.9 kB / 492.4 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.1368, allocations: 20.12 kB / 492.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.1374, allocations: 323.6 kB / 492.7 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1374, allocations: 0 / 492.7 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.1375, allocations: 16 kB / 492.7 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/0.1375, allocations: 8 kB / 492.7 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007888/0.1383, allocations: 0.7391 MB / 493.5 MB, free: 7.645 MB / 366.1 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.001335/0.1396, allocations: 1.296 MB / 494.8 MB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.14, allocations: 167.7 kB / 494.9 MB, free: 6.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.1402, allocations: 85.47 kB / 495 MB, free: 5.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002417/0.1426, allocations: 2.81 MB / 497.8 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.1426, allocations: 38.5 kB / 497.9 MB, free: 2.586 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.1426, allocations: 7.875 kB / 497.9 MB, free: 2.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003051/0.1429, allocations: 121.3 kB / 498 MB, free: 2.453 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.143, allocations: 59.41 kB / 498.1 MB, free: 2.383 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.1432, allocations: 217.2 kB / 498.3 MB, free: 2.164 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.1432, allocations: 29.7 kB / 498.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.1434, allocations: 214.6 kB / 498.5 MB, free: 1.914 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.1434, allocations: 47.39 kB / 498.6 MB, free: 1.867 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/0.1435, allocations: 81.94 kB / 498.6 MB, free: 1.781 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1436, allocations: 330.8 kB / 499 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.153e-05/0.1437, allocations: 48.84 kB / 499 MB, free: 1.402 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.144, allocations: 351.2 kB / 499.3 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.1444, allocations: 436.6 kB / 499.8 MB, free: 344 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.1444, allocations: 4 kB / 499.8 MB, free: 340 kB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005725/0.145, allocations: 393.2 kB / 0.4884 GB, free: 15.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.145, allocations: 8 kB / 0.4884 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.145, allocations: 12 kB / 0.4885 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.1451, allocations: 15.94 kB / 0.4885 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.1453, allocations: 99.83 kB / 0.4886 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.1453, allocations: 19.88 kB / 0.4886 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.1456, allocations: 51.97 kB / 0.4886 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.1456, allocations: 32 kB / 0.4887 GB, free: 15.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.1457, allocations: 153.6 kB / 0.4888 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.1458, allocations: 19.81 kB / 0.4888 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.1461, allocations: 144.4 kB / 0.489 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.1461, allocations: 0 / 0.489 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1461, allocations: 0 / 0.489 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1461, allocations: 3.984 kB / 0.489 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.1466, allocations: 416.8 kB / 0.4894 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1466, allocations: 0 / 0.4894 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.1466, allocations: 12 kB / 0.4894 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.1467, allocations: 4 kB / 0.4894 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1467, allocations: 0 / 0.4894 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1467, allocations: 3.984 kB / 0.4894 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.1467, allocations: 4 kB / 0.4894 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.1469, allocations: 201.8 kB / 0.4896 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.1469, allocations: 104.8 kB / 0.4897 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.147, allocations: 0 / 0.4897 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.1471, allocations: 8.062 kB / 0.4897 GB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.1472, allocations: 11.98 kB / 0.4897 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.1472, allocations: 4 kB / 0.4897 GB, free: 14.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.1473, allocations: 156.4 kB / 0.4899 GB, free: 14.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1473, allocations: 4 kB / 0.4899 GB, free: 14.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004851/0.1478, allocations: 96.12 kB / 0.49 GB, free: 14.26 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006262/0.1484, allocations: 0.8004 MB / 0.4907 GB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.1487, allocations: 178.1 kB / 0.4909 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.1487, allocations: 0 / 0.4909 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.212e-05/0.1488, allocations: 23.98 kB / 0.4909 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.1492, allocations: 40.77 kB / 0.491 GB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.1521, allocations: 2.803 MB / 0.4937 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1524, allocations: 0.7245 MB / 0.4944 GB, free: 9.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000236/0.1526, allocations: 50.94 kB / 0.4945 GB, free: 9.203 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/0.1527, allocations: 59.42 kB / 0.4945 GB, free: 9.145 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1527, allocations: 0 / 0.4945 GB, free: 9.145 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.1787, allocations: 5.152 MB / 0.4995 GB, free: 4.094 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/7.957, allocations: 8.062 kB / 0.4996 GB, free: 4.086 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches