Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",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.001107/0.001107, allocations: 112.8 kB / 17.06 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 200 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 47.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2486, allocations: 49.43 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00686/0.2555, allocations: 4.859 MB / 405.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008591/0.2564, allocations: 0.6036 MB / 405.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.689e-05/0.2565, allocations: 4 kB / 405.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.2568, allocations: 39.77 kB / 405.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.2584, allocations: 0.5683 MB / 406.3 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.2587, allocations: 94.05 kB / 406.4 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.2589, allocations: 179.3 kB / 406.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.259, allocations: 7.984 kB / 406.6 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.2601, allocations: 0.6197 MB / 407.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.2602, allocations: 55.77 kB / 407.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.2602, allocations: 4 kB / 407.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.2616, allocations: 0.8557 MB / 408.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.2617, allocations: 23.91 kB / 408.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/0.2618, allocations: 43.8 kB / 408.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.2622, allocations: 227.5 kB / 408.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2622, allocations: 0 / 408.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2622, allocations: 0 / 408.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.2622, allocations: 0 / 408.4 MB, free: 0.6094 MB / 318.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.0005023/0.2628, allocations: 419.2 kB / 408.8 MB, free: 156 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2628, allocations: 15.97 kB / 408.8 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.697e-05/0.2629, allocations: 42.73 kB / 408.8 MB, free: 88 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003734/0.2632, allocations: 40.81 kB / 408.9 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.2635, allocations: 204.2 kB / 409.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.2635, allocations: 8.078 kB / 409.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.2635, allocations: 12 kB / 409.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.2638, allocations: 137 kB / 409.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2638, allocations: 0 / 409.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.2639, allocations: 4 kB / 409.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2639, allocations: 4 kB / 409.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.2641, allocations: 107.9 kB / 409.4 MB, free: 15.52 MB / 334.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.0006977/0.2648, allocations: 0.6606 MB / 410 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.2649, allocations: 94.42 kB / 410.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.207e-05/0.265, allocations: 40.84 kB / 410.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005587/0.2656, allocations: 0.8037 MB / 410.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.3e-05/0.2656, allocations: 38.56 kB / 411 MB, free: 13.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.2656, allocations: 0 / 411 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003308/0.266, allocations: 129.7 kB / 411.1 MB, free: 13.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.266, allocations: 55.41 kB / 411.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.2661, allocations: 129.7 kB / 411.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.2661, allocations: 25.7 kB / 411.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.2662, allocations: 99.89 kB / 411.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.2662, allocations: 39.36 kB / 411.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.2663, allocations: 37.7 kB / 411.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.2664, allocations: 322.8 kB / 411.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-05/0.2665, allocations: 23.98 kB / 411.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.2665, allocations: 69.05 kB / 411.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.2667, allocations: 115.6 kB / 412 MB, free: 12.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.2667, allocations: 0 / 412 MB, free: 12.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002009/0.2669, allocations: 133.5 kB / 412.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.2669, allocations: 8 kB / 412.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2669, allocations: 0 / 412.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.267, allocations: 7.938 kB / 412.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.2671, allocations: 27.98 kB / 412.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2671, allocations: 4 kB / 412.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.598e-05/0.2672, allocations: 16 kB / 412.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.2672, allocations: 8 kB / 412.2 MB, free: 12.29 MB / 334.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.767e-05/0.2673, allocations: 125.8 kB / 412.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.2673, allocations: 7.906 kB / 412.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.2676, allocations: 150.2 kB / 412.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.2676, allocations: 4 kB / 412.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2676, allocations: 4 kB / 412.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2676, allocations: 7.984 kB / 412.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.2681, allocations: 382.2 kB / 412.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2681, allocations: 0 / 412.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.018e-05/0.2682, allocations: 31.92 kB / 412.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2682, allocations: 0 / 412.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.2682, allocations: 0 / 412.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.2682, allocations: 4 kB / 412.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2682, allocations: 3.984 kB / 412.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.2684, allocations: 203.4 kB / 413.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.2685, allocations: 100.9 kB / 413.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.2685, allocations: 3.938 kB / 413.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.2686, allocations: 4 kB / 413.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.2686, allocations: 7.984 kB / 413.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.2687, allocations: 8 kB / 413.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.888e-05/0.2687, allocations: 99.14 kB / 413.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2687, allocations: 0 / 413.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003171/0.269, allocations: 63.98 kB / 413.4 MB, free: 10.98 MB / 334.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.0005969/0.2696, allocations: 0.7903 MB / 414.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.2698, allocations: 83.84 kB / 414.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2698, allocations: 0 / 414.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.29e-05/0.2699, allocations: 39.86 kB / 414.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.2703, allocations: 51.48 kB / 414.4 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.2718, allocations: 1.568 MB / 415.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.2721, allocations: 0.6928 MB / 416.6 MB, free: 7.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.2722, allocations: 45.12 kB / 416.7 MB, free: 7.562 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/0.2723, allocations: 31.42 kB / 416.7 MB, free: 7.531 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2723, allocations: 3.938 kB / 416.7 MB, free: 7.527 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.2938, allocations: 3.775 MB / 420.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/8.057, allocations: 14.89 kB / 420.5 MB, free: 3.852 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches