Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_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.001761/0.001761, allocations: 114.4 kB / 17.72 MB, free: 5.445 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.001445/0.001445, allocations: 183.1 kB / 18.65 MB, free: 4.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 55.92 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09128/0.09292, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.1715/0.2645, allocations: 7.749 MB / 382.4 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007507/0.2653, allocations: 0.6244 MB / 383 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/0.2653, allocations: 0.5 kB / 383 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.2656, allocations: 32 kB / 383 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.2672, allocations: 0.58 MB / 383.6 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.2674, allocations: 100.8 kB / 383.7 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.2677, allocations: 178.5 kB / 383.9 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.2677, allocations: 5.891 kB / 383.9 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.2689, allocations: 0.6162 MB / 384.5 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.048e-05/0.269, allocations: 53.8 kB / 384.6 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.269, allocations: 5.219 kB / 384.6 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.2704, allocations: 0.8446 MB / 385.4 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.2704, allocations: 21.92 kB / 385.4 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.517e-05/0.2705, allocations: 47.84 kB / 385.5 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003881/0.2709, allocations: 239.1 kB / 385.7 MB, free: 8.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2709, allocations: 0 / 385.7 MB, free: 8.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2709, allocations: 5.562 kB / 385.7 MB, free: 8.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.2709, allocations: 0 / 385.7 MB, free: 8.422 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.0004361/0.2714, allocations: 426.8 kB / 386.1 MB, free: 8.023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2714, allocations: 8.5 kB / 386.1 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.2715, allocations: 43.84 kB / 386.2 MB, free: 7.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003857/0.2719, allocations: 31.44 kB / 386.2 MB, free: 7.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.2721, allocations: 198 kB / 386.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.2722, allocations: 3.781 kB / 386.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.2722, allocations: 15.55 kB / 386.4 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.2725, allocations: 142.4 kB / 386.6 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2725, allocations: 0 / 386.6 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.2725, allocations: 2.469 kB / 386.6 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.2725, allocations: 3 kB / 386.6 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.2728, allocations: 109.3 kB / 386.7 MB, free: 7.695 MB / 318.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.000588/0.2734, allocations: 0.6688 MB / 387.3 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.2735, allocations: 85.91 kB / 387.4 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.2736, allocations: 38.94 kB / 387.5 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00041/0.274, allocations: 0.8075 MB / 388.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.274, allocations: 39.69 kB / 388.3 MB, free: 6.078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.274, allocations: 0 / 388.3 MB, free: 6.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002821/0.2743, allocations: 124.5 kB / 388.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.2744, allocations: 60.47 kB / 388.5 MB, free: 5.973 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.4e-05/0.2744, allocations: 117.1 kB / 388.6 MB, free: 5.871 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.2745, allocations: 30.73 kB / 388.6 MB, free: 5.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.2745, allocations: 96.12 kB / 388.7 MB, free: 5.746 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.2745, allocations: 52.42 kB / 388.8 MB, free: 5.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.2746, allocations: 35.77 kB / 388.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.534e-05/0.2746, allocations: 322.7 kB / 389.1 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.301e-05/0.2747, allocations: 25.55 kB / 389.2 MB, free: 5.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.724e-05/0.2748, allocations: 67.75 kB / 389.2 MB, free: 5.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.2749, allocations: 105.6 kB / 389.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2749, allocations: 1.062 kB / 389.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000195/0.2751, allocations: 143.4 kB / 389.5 MB, free: 5.223 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2751, allocations: 9.031 kB / 389.5 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2751, allocations: 2.812 kB / 389.5 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2752, allocations: 10.47 kB / 389.5 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.2753, allocations: 32.33 kB / 389.5 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.2753, allocations: 6.609 kB / 389.5 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.441e-05/0.2754, allocations: 15.03 kB / 389.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.2754, allocations: 8.781 kB / 389.5 MB, free: 5.199 MB / 318.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 6.352e-05/0.2755, allocations: 126.4 kB / 389.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.2755, allocations: 9.359 kB / 389.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.2758, allocations: 142.7 kB / 389.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.2758, allocations: 2.188 kB / 389.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2758, allocations: 3.938 kB / 389.8 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.2758, allocations: 5.078 kB / 389.8 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.2762, allocations: 399.4 kB / 390.2 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2762, allocations: 1.281 kB / 390.2 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.415e-05/0.2763, allocations: 24.97 kB / 390.2 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2763, allocations: 5.031 kB / 390.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2763, allocations: 5.516 kB / 390.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2763, allocations: 5.828 kB / 390.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2763, allocations: 0 / 390.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.2765, allocations: 197.6 kB / 390.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.2765, allocations: 99.17 kB / 390.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.2765, allocations: 1.656 kB / 390.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.973e-05/0.2766, allocations: 4.172 kB / 390.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.2767, allocations: 9.938 kB / 390.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.2767, allocations: 11.61 kB / 390.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.361e-05/0.2767, allocations: 93.84 kB / 390.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2767, allocations: 0 / 390.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003169/0.2771, allocations: 58.39 kB / 390.7 MB, free: 4.371 MB / 318.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.0004467/0.2775, allocations: 0.7973 MB / 391.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.2777, allocations: 87.14 kB / 391.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2777, allocations: 0 / 391.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.462e-05/0.2778, allocations: 37.3 kB / 391.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.2782, allocations: 49.52 kB / 391.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.2794, allocations: 1.565 MB / 393.3 MB, free: 2.219 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.2795, allocations: 0.701 MB / 394 MB, free: 1.516 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.2797, allocations: 37.34 kB / 394 MB, free: 1.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.2797, allocations: 27.36 kB / 394 MB, free: 1.484 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2797, allocations: 0 / 394 MB, free: 1.484 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.3046, allocations: 3.788 MB / 397.8 MB, free: 0.75 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.72/8.025, allocations: 9.516 kB / 397.8 MB, free: 0.7422 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches