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.00119/0.00119, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001042, allocations: 61.47 kB / 307 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07618/0.07723, allocations: 50.53 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00632/0.08359, allocations: 4.916 MB / 362.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007625/0.08438, allocations: 0.6231 MB / 363.1 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.08445, allocations: 3.938 kB / 363.1 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.08467, allocations: 31.83 kB / 363.1 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.08593, allocations: 0.5761 MB / 363.7 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.08615, allocations: 107.5 kB / 363.8 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.08637, allocations: 175.3 kB / 364 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.44e-05/0.08641, allocations: 7.984 kB / 364 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009047/0.08732, allocations: 0.608 MB / 364.6 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.08741, allocations: 59.75 kB / 364.7 MB, free: 6.844 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.08744, allocations: 8 kB / 364.7 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.08865, allocations: 0.8699 MB / 365.6 MB, free: 5.965 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.78e-05/0.08871, allocations: 27.84 kB / 365.6 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.814e-05/0.08878, allocations: 43.8 kB / 365.6 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.08918, allocations: 251.5 kB / 365.9 MB, free: 5.648 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.08919, allocations: 0 / 365.9 MB, free: 5.648 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.0892, allocations: 0 / 365.9 MB, free: 5.648 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.08921, allocations: 0 / 365.9 MB, free: 5.648 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.0004339/0.08965, allocations: 427.1 kB / 366.3 MB, free: 5.184 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.08969, allocations: 12.03 kB / 366.3 MB, free: 5.172 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.823e-05/0.08973, allocations: 42.73 kB / 366.3 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003756/0.09011, allocations: 32.81 kB / 366.4 MB, free: 5.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.09028, allocations: 188.3 kB / 366.6 MB, free: 4.867 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.0903, allocations: 16.12 kB / 366.6 MB, free: 4.852 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.09033, allocations: 8 kB / 366.6 MB, free: 4.844 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.09054, allocations: 143.4 kB / 366.7 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.09056, allocations: 0 / 366.7 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.09058, allocations: 4 kB / 366.7 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.09059, allocations: 4 kB / 366.7 MB, free: 4.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.09077, allocations: 111.8 kB / 366.8 MB, free: 4.57 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.0006044/0.09138, allocations: 0.6567 MB / 367.5 MB, free: 3.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.09153, allocations: 86.48 kB / 367.6 MB, free: 3.746 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.765e-05/0.09159, allocations: 44.84 kB / 367.6 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005345/0.09213, allocations: 0.8076 MB / 368.4 MB, free: 2.707 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.09216, allocations: 34.56 kB / 368.5 MB, free: 2.664 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.09217, allocations: 0 / 368.5 MB, free: 2.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002542/0.09243, allocations: 133.9 kB / 368.6 MB, free: 2.527 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.09247, allocations: 55.34 kB / 368.6 MB, free: 2.461 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.09255, allocations: 117.8 kB / 368.8 MB, free: 2.336 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.09257, allocations: 33.7 kB / 368.8 MB, free: 2.297 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.09263, allocations: 107.8 kB / 368.9 MB, free: 2.188 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.09267, allocations: 51.3 kB / 368.9 MB, free: 2.137 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.09272, allocations: 29.72 kB / 369 MB, free: 2.102 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.241e-05/0.09281, allocations: 318.8 kB / 369.3 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.247e-05/0.09286, allocations: 27.98 kB / 369.3 MB, free: 1.754 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.531e-05/0.09293, allocations: 69.12 kB / 369.4 MB, free: 1.668 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.09306, allocations: 101.1 kB / 369.5 MB, free: 1.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.09307, allocations: 0 / 369.5 MB, free: 1.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001938/0.09327, allocations: 145.1 kB / 369.6 MB, free: 1.406 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.09329, allocations: 4 kB / 369.6 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.0933, allocations: 4 kB / 369.6 MB, free: 1.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.09332, allocations: 3.938 kB / 369.6 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.09343, allocations: 39.92 kB / 369.7 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.09344, allocations: 0 / 369.7 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/0.09351, allocations: 11.84 kB / 369.7 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.09353, allocations: 15.98 kB / 369.7 MB, free: 1.328 MB / 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 7.716e-05/0.09361, allocations: 127 kB / 369.8 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.09365, allocations: 7.906 kB / 369.8 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.09392, allocations: 146.4 kB / 370 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.09393, allocations: 0 / 370 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.09394, allocations: 0 / 370 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.09395, allocations: 0 / 370 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.09434, allocations: 406.3 kB / 370.4 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.09435, allocations: 0 / 370.4 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.09443, allocations: 19.98 kB / 370.4 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.09444, allocations: 11.88 kB / 370.4 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.09446, allocations: 4 kB / 370.4 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.09446, allocations: 0 / 370.4 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.09447, allocations: 0 / 370.4 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.09465, allocations: 207.4 kB / 370.6 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.09472, allocations: 93 kB / 370.7 MB, free: 228 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.09474, allocations: 11.92 kB / 370.7 MB, free: 216 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.955e-05/0.09484, allocations: 4 kB / 370.7 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.09486, allocations: 4 kB / 370.7 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.09488, allocations: 11.98 kB / 370.7 MB, free: 196 kB / 302.1 MB Notification: Performance of sorting global known variables: time 4.566e-05/0.09493, allocations: 91.27 kB / 370.8 MB, free: 104 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09494, allocations: 0 / 370.8 MB, free: 104 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.09524, allocations: 56 kB / 370.9 MB, free: 48 kB / 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.1278/0.2231, allocations: 0.7959 MB / 371.7 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.2233, allocations: 92.66 kB / 371.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2233, allocations: 1.562 kB / 371.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.69e-05/0.2234, allocations: 37.47 kB / 371.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.2239, allocations: 42.06 kB / 371.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.2252, allocations: 1.568 MB / 373.4 MB, free: 18.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.2253, allocations: 0.6926 MB / 374.1 MB, free: 18.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001498/0.2255, allocations: 42.86 kB / 374.1 MB, free: 18.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.2256, allocations: 30.03 kB / 374.2 MB, free: 18.19 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2256, allocations: 0 / 374.2 MB, free: 18.19 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.099/2.324, allocations: 3.909 MB / 378.1 MB, free: 17.7 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.588/11.91, allocations: 13.73 kB / 378.1 MB, free: 17.69 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