Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.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) 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(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007008/0.0007009, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007861/0.0007861, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.184/1.184, allocations: 227.7 MB / 246.8 MB, free: 9.566 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002056/0.0002056, allocations: 4 kB / 307.8 MB, free: 0.4922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0857/0.08592, allocations: 51.53 MB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005393/0.09135, allocations: 4.643 MB / 364 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008017/0.09218, allocations: 0.6232 MB / 364.6 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.09225, allocations: 0 / 364.6 MB, free: 7.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.09245, allocations: 31.88 kB / 364.7 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.09365, allocations: 0.5219 MB / 365.2 MB, free: 7.113 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.09387, allocations: 83.33 kB / 365.3 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.09415, allocations: 227.2 kB / 365.5 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.0942, allocations: 4 kB / 365.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.09524, allocations: 0.7014 MB / 366.2 MB, free: 6.105 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.756e-05/0.09535, allocations: 51.78 kB / 366.2 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.09537, allocations: 0 / 366.2 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.09667, allocations: 0.9827 MB / 367.2 MB, free: 5.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.587e-05/0.09673, allocations: 23.91 kB / 367.2 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.528e-05/0.0968, allocations: 69.5 kB / 367.3 MB, free: 4.973 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.0972, allocations: 243.5 kB / 367.5 MB, free: 4.734 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.09721, allocations: 0 / 367.5 MB, free: 4.734 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09722, allocations: 3.938 kB / 367.5 MB, free: 4.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.09723, allocations: 4 kB / 367.6 MB, free: 4.727 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004354/0.09767, allocations: 407.2 kB / 367.9 MB, free: 4.281 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.09771, allocations: 12.03 kB / 368 MB, free: 4.27 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.09776, allocations: 42.67 kB / 368 MB, free: 4.219 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003564/0.09812, allocations: 36.81 kB / 368 MB, free: 4.184 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.09829, allocations: 184.4 kB / 368.2 MB, free: 3.965 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.0983, allocations: 8.125 kB / 368.2 MB, free: 3.957 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.09833, allocations: 12 kB / 368.2 MB, free: 3.945 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.09854, allocations: 141 kB / 368.4 MB, free: 3.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.09856, allocations: 0 / 368.4 MB, free: 3.789 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.09858, allocations: 0 / 368.4 MB, free: 3.789 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.09859, allocations: 4 kB / 368.4 MB, free: 3.785 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.09875, allocations: 111.8 kB / 368.5 MB, free: 3.676 MB / 302.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.0006595/0.09942, allocations: 0.6645 MB / 369.2 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.09956, allocations: 94.41 kB / 369.2 MB, free: 2.836 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.09963, allocations: 40.84 kB / 369.3 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005445/0.1002, allocations: 0.8037 MB / 370.1 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.1002, allocations: 38.56 kB / 370.1 MB, free: 1.758 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.1002, allocations: 0 / 370.1 MB, free: 1.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002719/0.1005, allocations: 133.8 kB / 370.3 MB, free: 1.621 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.1005, allocations: 51.41 kB / 370.3 MB, free: 1.559 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/0.1006, allocations: 125.7 kB / 370.4 MB, free: 1.426 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1007, allocations: 25.7 kB / 370.5 MB, free: 1.395 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.1007, allocations: 103.8 kB / 370.6 MB, free: 1.289 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1008, allocations: 47.38 kB / 370.6 MB, free: 1.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.1008, allocations: 25.72 kB / 370.6 MB, free: 1.211 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1009, allocations: 314.8 kB / 370.9 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.871e-05/0.101, allocations: 27.98 kB / 371 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.728e-05/0.101, allocations: 73.05 kB / 371 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.1012, allocations: 109 kB / 371.1 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1012, allocations: 0 / 371.1 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000191/0.1014, allocations: 136.9 kB / 371.3 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1014, allocations: 8.156 kB / 371.3 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1014, allocations: 4 kB / 371.3 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1014, allocations: 3.938 kB / 371.3 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1016, allocations: 31.98 kB / 371.3 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1016, allocations: 0 / 371.3 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.882e-05/0.1016, allocations: 15.84 kB / 371.3 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.1017, allocations: 8 kB / 371.3 MB, free: 456 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * 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.297e-05/0.1017, allocations: 122.8 kB / 371.5 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.1018, allocations: 7.906 kB / 371.5 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.1021, allocations: 154.2 kB / 371.6 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1021, allocations: 0 / 371.6 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1021, allocations: 0 / 371.6 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1021, allocations: 3.984 kB / 371.6 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1458/0.2479, allocations: 381.6 kB / 372 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2479, allocations: 1.281 kB / 372 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.206e-05/0.248, allocations: 26.33 kB / 372 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.248, allocations: 0.6875 kB / 372 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.248, allocations: 4.875 kB / 372 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2481, allocations: 1.953 kB / 372 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2481, allocations: 0.5312 kB / 372 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.2482, allocations: 207.5 kB / 372.2 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.2483, allocations: 93.64 kB / 372.3 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.2483, allocations: 4.625 kB / 372.3 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.099e-05/0.2484, allocations: 7.047 kB / 372.3 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.2484, allocations: 10.23 kB / 372.3 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.2485, allocations: 7.75 kB / 372.4 MB, free: 18.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.647e-05/0.2485, allocations: 93.91 kB / 372.4 MB, free: 18.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2485, allocations: 1.875 kB / 372.5 MB, free: 18.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000344/0.2489, allocations: 60.66 kB / 372.5 MB, free: 18.78 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * 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.0004709/0.2493, allocations: 0.8104 MB / 373.3 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.2495, allocations: 82.8 kB / 373.4 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2495, allocations: 0 / 373.4 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.793e-05/0.2496, allocations: 45.27 kB / 373.4 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.25, allocations: 42.72 kB / 373.5 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.2511, allocations: 1.612 MB / 375.1 MB, free: 16.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.2512, allocations: 0.6974 MB / 375.8 MB, free: 16.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.2513, allocations: 36.19 kB / 375.8 MB, free: 16.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.2514, allocations: 29.66 kB / 375.9 MB, free: 16.12 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2514, allocations: 0.875 kB / 375.9 MB, free: 16.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.2644, allocations: 3.674 MB / 379.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001299/0.2645, allocations: 195.3 kB / 379.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/1.941, allocations: 0 / 379.7 MB, free: 15.54 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches