Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 199.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 226.5 MB / 243.4 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008166/0.0008167, allocations: 100.1 kB / 295.5 MB, free: 6.719 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2767/0.2767, allocations: 44.82 MB / 392.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002477/0.0002479, allocations: 12 kB / 465.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2714, allocations: 62.96 MB / 0.516 GB, free: 37.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.003298/0.2747, allocations: 4.083 MB / 0.5199 GB, free: 34.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002559/0.2773, allocations: 3.703 MB / 0.5236 GB, free: 31.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.97e-05/0.2774, allocations: 2.75 kB / 0.5236 GB, free: 31.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.2776, allocations: 39.67 kB / 0.5236 GB, free: 31.69 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.2788, allocations: 0.6271 MB / 0.5242 GB, free: 31.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.279, allocations: 126 kB / 0.5243 GB, free: 31.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.2794, allocations: 389.4 kB / 0.5247 GB, free: 31.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.278e-05/0.2794, allocations: 13.59 kB / 0.5247 GB, free: 31.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.2796, allocations: 134.3 kB / 0.5248 GB, free: 31.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.2798, allocations: 155.5 kB / 0.525 GB, free: 31.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.2798, allocations: 5.125 kB / 0.525 GB, free: 31.01 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006524/0.2804, allocations: 424.4 kB / 0.5254 GB, free: 30.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.2805, allocations: 43.33 kB / 0.5254 GB, free: 30.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.443e-05/0.2806, allocations: 132.7 kB / 0.5256 GB, free: 30.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.281, allocations: 322.8 kB / 0.5259 GB, free: 30.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.281, allocations: 0 / 0.5259 GB, free: 30.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.281, allocations: 0 / 0.5259 GB, free: 30.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.281, allocations: 0 / 0.5259 GB, free: 30.7 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.0008063/0.2818, allocations: 0.5455 MB / 0.5264 GB, free: 30.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2818, allocations: 10.22 kB / 0.5264 GB, free: 30.24 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.756e-05/0.2819, allocations: 62.5 kB / 0.5265 GB, free: 30.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.282, allocations: 29.44 kB / 0.5265 GB, free: 30.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.2822, allocations: 221.2 kB / 0.5267 GB, free: 29.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.732e-05/0.2823, allocations: 131.2 kB / 0.5268 GB, free: 29.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.2823, allocations: 23.97 kB / 0.5269 GB, free: 29.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.2827, allocations: 324.5 kB / 0.5272 GB, free: 29.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2827, allocations: 3.938 kB / 0.5272 GB, free: 29.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.2828, allocations: 10.84 kB / 0.5272 GB, free: 29.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.2828, allocations: 9.812 kB / 0.5272 GB, free: 29.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005716/0.2834, allocations: 0.7362 MB / 0.5279 GB, free: 29.48 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.0009447/0.2843, allocations: 1.294 MB / 0.5292 GB, free: 28.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.2846, allocations: 167.5 kB / 0.5293 GB, free: 28.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.963e-05/0.2847, allocations: 83.77 kB / 0.5294 GB, free: 28.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/0.2862, allocations: 2.812 MB / 0.5322 GB, free: 25.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.2863, allocations: 44.86 kB / 0.5322 GB, free: 25.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.472e-06/0.2863, allocations: 3.938 kB / 0.5322 GB, free: 25.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.000218/0.2865, allocations: 114.6 kB / 0.5323 GB, free: 25.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.2865, allocations: 51.41 kB / 0.5324 GB, free: 25.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.2867, allocations: 223.3 kB / 0.5326 GB, free: 24.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.2867, allocations: 25.7 kB / 0.5326 GB, free: 24.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.2868, allocations: 221.9 kB / 0.5328 GB, free: 24.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.2868, allocations: 41.09 kB / 0.5329 GB, free: 24.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.2868, allocations: 11.03 kB / 0.5329 GB, free: 24.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.326e-05/0.2868, allocations: 332.7 kB / 0.5332 GB, free: 24.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.993e-05/0.2869, allocations: 42.22 kB / 0.5332 GB, free: 24.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.287, allocations: 347.6 kB / 0.5336 GB, free: 23.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.2873, allocations: 450.5 kB / 0.534 GB, free: 23.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.2873, allocations: 2.781 kB / 0.534 GB, free: 23.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004072/0.2877, allocations: 377.5 kB / 0.5344 GB, free: 23.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2877, allocations: 10.31 kB / 0.5344 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2877, allocations: 11.88 kB / 0.5344 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.2878, allocations: 15.62 kB / 0.5344 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.288, allocations: 98.03 kB / 0.5345 GB, free: 23.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.288, allocations: 20.47 kB / 0.5345 GB, free: 23.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.2882, allocations: 58.09 kB / 0.5346 GB, free: 23.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.2883, allocations: 32.44 kB / 0.5346 GB, free: 23.15 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.974e-05/0.2883, allocations: 151.2 kB / 0.5347 GB, free: 23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.2884, allocations: 18.31 kB / 0.5348 GB, free: 23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.2886, allocations: 148.7 kB / 0.5349 GB, free: 22.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.2886, allocations: 2.469 kB / 0.5349 GB, free: 22.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2886, allocations: 3.234 kB / 0.5349 GB, free: 22.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2886, allocations: 0 / 0.5349 GB, free: 22.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.289, allocations: 403.8 kB / 0.5353 GB, free: 22.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.289, allocations: 4.094 kB / 0.5353 GB, free: 22.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.268e-05/0.289, allocations: 22.72 kB / 0.5353 GB, free: 22.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.289, allocations: 0 / 0.5353 GB, free: 22.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.2891, allocations: 2.875 kB / 0.5353 GB, free: 22.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2891, allocations: 0 / 0.5353 GB, free: 22.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2891, allocations: 3.062 kB / 0.5353 GB, free: 22.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.2892, allocations: 208.3 kB / 0.5355 GB, free: 22.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.2893, allocations: 112.5 kB / 0.5356 GB, free: 22.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.2893, allocations: 2.969 kB / 0.5356 GB, free: 22.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.2894, allocations: 2.688 kB / 0.5356 GB, free: 22.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.2895, allocations: 10.92 kB / 0.5356 GB, free: 22.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.2895, allocations: 3 kB / 0.5356 GB, free: 22.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.451e-05/0.2896, allocations: 156.5 kB / 0.5358 GB, free: 22.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.2896, allocations: 0 / 0.5358 GB, free: 22.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004167/0.29, allocations: 94.03 kB / 0.5359 GB, free: 22.09 MB / 378.7 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 (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.0004178/0.2904, allocations: 0.8036 MB / 0.5367 GB, free: 21.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.2906, allocations: 167.1 kB / 0.5368 GB, free: 21.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2907, allocations: 0 / 0.5368 GB, free: 21.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.95e-05/0.2907, allocations: 25.92 kB / 0.5368 GB, free: 21.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.2911, allocations: 40.8 kB / 0.5369 GB, free: 21.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.2925, allocations: 1.476 MB / 0.5383 GB, free: 20.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.2926, allocations: 0.7313 MB / 0.539 GB, free: 19.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/0.2927, allocations: 60.58 kB / 0.5391 GB, free: 19.38 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.2927, allocations: 0 / 0.5391 GB, free: 19.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.894/3.187, allocations: 3.666 MB / 0.5427 GB, free: 18.99 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches