Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008415/0.0008417, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009284/0.0009282, allocations: 182.7 kB / 16.91 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.4 MB / 223.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3395/0.3395, allocations: 43.58 MB / 315 MB, free: 9.035 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005321/0.0005322, allocations: 16 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1212, allocations: 58.87 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004754/0.126, allocations: 4.224 MB / 447.8 MB, free: 8.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004418/0.1305, allocations: 4.01 MB / 451.8 MB, free: 4.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.1306, allocations: 0 / 451.8 MB, free: 4.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.1309, allocations: 43.78 kB / 451.8 MB, free: 4.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.1327, allocations: 0.6608 MB / 452.5 MB, free: 3.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.1331, allocations: 127.8 kB / 452.6 MB, free: 3.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005689/0.1336, allocations: 442 kB / 453 MB, free: 3.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.602e-05/0.1337, allocations: 21.64 kB / 453.1 MB, free: 3.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.1339, allocations: 135.4 kB / 453.2 MB, free: 3.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.1341, allocations: 155.4 kB / 453.3 MB, free: 2.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.1342, allocations: 4 kB / 453.3 MB, free: 2.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009588/0.1351, allocations: 443.3 kB / 453.8 MB, free: 2.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.97e-05/0.1352, allocations: 43.81 kB / 453.8 MB, free: 2.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.1354, allocations: 129.2 kB / 453.9 MB, free: 2.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006901/0.1361, allocations: 471 kB / 454.4 MB, free: 1.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1361, allocations: 0 / 454.4 MB, free: 1.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1361, allocations: 0 / 454.4 MB, free: 1.898 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1361, allocations: 0 / 454.4 MB, free: 1.898 MB / 382.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.001019/0.1371, allocations: 0.5502 MB / 455 MB, free: 1.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1372, allocations: 11.97 kB / 455 MB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.498e-05/0.1372, allocations: 62.72 kB / 455 MB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.1374, allocations: 24.66 kB / 455.1 MB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.1376, allocations: 228.1 kB / 455.3 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.1377, allocations: 127.9 kB / 455.4 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.1378, allocations: 28.12 kB / 455.4 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/0.1383, allocations: 323.6 kB / 455.7 MB, free: 420 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1383, allocations: 0 / 455.7 MB, free: 420 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.1383, allocations: 16 kB / 455.8 MB, free: 404 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.1384, allocations: 4 kB / 455.8 MB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1891/0.3275, allocations: 0.7334 MB / 456.5 MB, free: 46.88 MB / 382.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.001169/0.3287, allocations: 1.308 MB / 457.8 MB, free: 45.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.329, allocations: 162.5 kB / 458 MB, free: 45.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3291, allocations: 90.2 kB / 458.1 MB, free: 45.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001638/0.3308, allocations: 2.811 MB / 460.9 MB, free: 42.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.3308, allocations: 38.28 kB / 460.9 MB, free: 42.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.773e-06/0.3308, allocations: 3.438 kB / 460.9 MB, free: 42.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002514/0.3311, allocations: 114 kB / 461 MB, free: 42.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.3311, allocations: 55.23 kB / 461.1 MB, free: 42.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.3313, allocations: 221.8 kB / 461.3 MB, free: 42.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3313, allocations: 29.64 kB / 461.3 MB, free: 42.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.3314, allocations: 214.5 kB / 461.5 MB, free: 42.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.3314, allocations: 48 kB / 461.6 MB, free: 42.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.3314, allocations: 42.41 kB / 461.6 MB, free: 42.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.616e-05/0.3315, allocations: 334 kB / 461.9 MB, free: 42.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.257e-05/0.3316, allocations: 44.08 kB / 462 MB, free: 42.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.3317, allocations: 343.5 kB / 462.3 MB, free: 41.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.332, allocations: 448 kB / 462.8 MB, free: 41.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.332, allocations: 3 kB / 462.8 MB, free: 41.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004258/0.3324, allocations: 385.6 kB / 463.1 MB, free: 41.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3324, allocations: 8.5 kB / 463.1 MB, free: 41.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3325, allocations: 11.09 kB / 463.2 MB, free: 41.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.3325, allocations: 13.59 kB / 463.2 MB, free: 41.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.3327, allocations: 95.61 kB / 463.3 MB, free: 41.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.3327, allocations: 22.12 kB / 463.3 MB, free: 41.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.3329, allocations: 51.75 kB / 463.3 MB, free: 41.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.3329, allocations: 36.81 kB / 463.4 MB, free: 41.23 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 8.597e-05/0.333, allocations: 155 kB / 463.5 MB, free: 41.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.3331, allocations: 23.25 kB / 463.5 MB, free: 41.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.3333, allocations: 141.4 kB / 463.7 MB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.3333, allocations: 0 / 463.7 MB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3333, allocations: 2.781 kB / 463.7 MB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3334, allocations: 3.188 kB / 463.7 MB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.3337, allocations: 410.7 kB / 464.1 MB, free: 40.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3337, allocations: 7 kB / 464.1 MB, free: 40.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.3337, allocations: 17.64 kB / 464.1 MB, free: 40.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3337, allocations: 3.938 kB / 464.1 MB, free: 40.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.3337, allocations: 6.906 kB / 464.1 MB, free: 40.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3338, allocations: 3.125 kB / 464.1 MB, free: 40.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3338, allocations: 3 kB / 464.1 MB, free: 40.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.3339, allocations: 201 kB / 464.3 MB, free: 40.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.3339, allocations: 109.6 kB / 464.4 MB, free: 40.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.334, allocations: 10.25 kB / 464.4 MB, free: 40.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.3341, allocations: 6.625 kB / 464.4 MB, free: 40.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.3341, allocations: 6.344 kB / 464.5 MB, free: 40.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.3342, allocations: 9.562 kB / 464.5 MB, free: 40.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.463e-05/0.3342, allocations: 155.9 kB / 464.6 MB, free: 40.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3342, allocations: 0 / 464.6 MB, free: 40.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004502/0.3347, allocations: 95.52 kB / 464.7 MB, free: 40.32 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.0004085/0.3351, allocations: 0.8013 MB / 465.5 MB, free: 39.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.3353, allocations: 171.2 kB / 465.7 MB, free: 39.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3354, allocations: 0 / 465.7 MB, free: 39.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3e-05/0.3354, allocations: 29.83 kB / 465.7 MB, free: 39.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.3358, allocations: 40.39 kB / 465.7 MB, free: 39.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.3379, allocations: 2.885 MB / 468.6 MB, free: 37.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.338, allocations: 0.7244 MB / 469.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000211/0.3382, allocations: 56.7 kB / 469.4 MB, free: 36.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.359e-05/0.3383, allocations: 57.09 kB / 469.5 MB, free: 36.61 MB / 382.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3383, allocations: 0 / 469.5 MB, free: 36.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01428/0.3526, allocations: 4.901 MB / 474.4 MB, free: 36.09 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.3528, allocations: 206 kB / 474.6 MB, free: 35.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.237, allocations: 0 / 474.6 MB, free: 35.83 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches