Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009784/0.0009782, allocations: 188.9 kB / 16.09 MB, free: 5.672 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 226.5 MB / 243.4 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007871/0.0007872, allocations: 101.2 kB / 295.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3195/0.3195, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002889, allocations: 11.98 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2979, allocations: 62.95 MB / 0.516 GB, free: 37.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.003705/0.3016, allocations: 4.467 MB / 0.5203 GB, free: 33.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003109/0.3048, allocations: 4.204 MB / 0.5244 GB, free: 30.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.3049, allocations: 0 / 0.5244 GB, free: 30.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.3052, allocations: 33.28 kB / 0.5245 GB, free: 30.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.3064, allocations: 0.5801 MB / 0.525 GB, free: 30.51 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.3067, allocations: 143.6 kB / 0.5252 GB, free: 30.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000389/0.3071, allocations: 394.4 kB / 0.5255 GB, free: 30.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.39e-05/0.3072, allocations: 21.7 kB / 0.5256 GB, free: 30.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.3074, allocations: 149.5 kB / 0.5257 GB, free: 30.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.3076, allocations: 132.6 kB / 0.5258 GB, free: 30.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.3076, allocations: 5.344 kB / 0.5258 GB, free: 30.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007158/0.3083, allocations: 341.1 kB / 0.5262 GB, free: 30.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.3084, allocations: 45.86 kB / 0.5262 GB, free: 30.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3085, allocations: 135.1 kB / 0.5263 GB, free: 29.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.3089, allocations: 296.2 kB / 0.5266 GB, free: 29.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3089, allocations: 0 / 0.5266 GB, free: 29.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3089, allocations: 0 / 0.5266 GB, free: 29.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.3089, allocations: 0 / 0.5266 GB, free: 29.88 MB / 378.7 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.0007655/0.3097, allocations: 0.5316 MB / 0.5271 GB, free: 29.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3097, allocations: 15.28 kB / 0.5271 GB, free: 29.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.463e-05/0.3098, allocations: 67.12 kB / 0.5272 GB, free: 29.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.3099, allocations: 23.34 kB / 0.5272 GB, free: 29.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.3101, allocations: 228.8 kB / 0.5274 GB, free: 29.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.292e-05/0.3102, allocations: 123.9 kB / 0.5276 GB, free: 28.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.3103, allocations: 27.67 kB / 0.5276 GB, free: 28.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.3107, allocations: 325.6 kB / 0.5279 GB, free: 28.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3107, allocations: 0 / 0.5279 GB, free: 28.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.3107, allocations: 13.66 kB / 0.5279 GB, free: 28.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.3108, allocations: 5.625 kB / 0.5279 GB, free: 28.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005965/0.3114, allocations: 0.7428 MB / 0.5286 GB, free: 28.66 MB / 378.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.000983/0.3124, allocations: 1.246 MB / 0.5299 GB, free: 27.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.3126, allocations: 151.2 kB / 0.53 GB, free: 27.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.309e-05/0.3127, allocations: 68.8 kB / 0.5301 GB, free: 27.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001524/0.3143, allocations: 2.665 MB / 0.5327 GB, free: 24.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.3144, allocations: 33.22 kB / 0.5327 GB, free: 24.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.3144, allocations: 0 / 0.5327 GB, free: 24.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006179/0.315, allocations: 216.7 kB / 0.5329 GB, free: 24.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.315, allocations: 54.62 kB / 0.533 GB, free: 24.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3152, allocations: 224.5 kB / 0.5332 GB, free: 24.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.3152, allocations: 25.7 kB / 0.5332 GB, free: 24.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.3153, allocations: 210.9 kB / 0.5334 GB, free: 24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.3153, allocations: 54.91 kB / 0.5335 GB, free: 23.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.3153, allocations: 6.531 kB / 0.5335 GB, free: 23.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.521e-05/0.3154, allocations: 324.8 kB / 0.5338 GB, free: 23.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.616e-05/0.3155, allocations: 52.72 kB / 0.5338 GB, free: 23.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.3156, allocations: 308.6 kB / 0.5341 GB, free: 23.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.3159, allocations: 416.4 kB / 0.5345 GB, free: 22.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3159, allocations: 2.906 kB / 0.5345 GB, free: 22.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004327/0.3164, allocations: 360.2 kB / 0.5349 GB, free: 22.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3164, allocations: 13.72 kB / 0.5349 GB, free: 22.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.3164, allocations: 8.656 kB / 0.5349 GB, free: 22.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.3164, allocations: 23.31 kB / 0.5349 GB, free: 22.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.3167, allocations: 110 kB / 0.535 GB, free: 22.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.3168, allocations: 15.56 kB / 0.535 GB, free: 22.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.317, allocations: 18.91 kB / 0.535 GB, free: 22.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.317, allocations: 30.03 kB / 0.5351 GB, free: 22.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.355e-05/0.3171, allocations: 148.1 kB / 0.5352 GB, free: 22.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.3172, allocations: 19.5 kB / 0.5352 GB, free: 22.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.3174, allocations: 157.6 kB / 0.5354 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.3175, allocations: 3.938 kB / 0.5354 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3175, allocations: 4 kB / 0.5354 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3175, allocations: 3.031 kB / 0.5354 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.3179, allocations: 441.5 kB / 0.5358 GB, free: 22.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3179, allocations: 6.969 kB / 0.5358 GB, free: 22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.318, allocations: 29.84 kB / 0.5358 GB, free: 22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3181, allocations: 2.812 kB / 0.5358 GB, free: 22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3181, allocations: 7.234 kB / 0.5359 GB, free: 22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3181, allocations: 2.781 kB / 0.5359 GB, free: 22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3181, allocations: 4.031 kB / 0.5359 GB, free: 21.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.3183, allocations: 212.2 kB / 0.5361 GB, free: 21.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.507e-05/0.3184, allocations: 118.7 kB / 0.5362 GB, free: 21.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.3184, allocations: 0 / 0.5362 GB, free: 21.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.3186, allocations: 12.83 kB / 0.5362 GB, free: 21.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.3186, allocations: 18.11 kB / 0.5362 GB, free: 21.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.3186, allocations: 5.688 kB / 0.5362 GB, free: 21.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.467e-05/0.3187, allocations: 150.6 kB / 0.5364 GB, free: 21.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3187, allocations: 0 / 0.5364 GB, free: 21.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004343/0.3192, allocations: 99.12 kB / 0.5365 GB, free: 21.58 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004909/0.3197, allocations: 0.8125 MB / 0.5372 GB, free: 20.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.3199, allocations: 172.9 kB / 0.5374 GB, free: 20.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3199, allocations: 4.312 kB / 0.5374 GB, free: 20.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.462e-05/0.32, allocations: 36.91 kB / 0.5374 GB, free: 20.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.3204, allocations: 54.53 kB / 0.5375 GB, free: 20.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.322, allocations: 1.431 MB / 0.5389 GB, free: 19.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.3222, allocations: 0.7336 MB / 0.5396 GB, free: 18.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.676e-05/0.3223, allocations: 68.92 kB / 0.5397 GB, free: 18.95 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3223, allocations: 0 / 0.5397 GB, free: 18.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.879/3.201, allocations: 3.797 MB / 0.5434 GB, free: 18.53 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches