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.001125/0.001125, allocations: 114.5 kB / 17.73 MB, free: 5.324 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.001236/0.001236, allocations: 187 kB / 18.66 MB, free: 4.398 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.272/1.272, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001214/0.001214, allocations: 51.92 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08206/0.08329, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.1833/0.2666, allocations: 7.755 MB / 382.4 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007381/0.2674, allocations: 0.6188 MB / 383 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.2674, allocations: 1 kB / 383 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.2677, allocations: 33.66 kB / 383 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.2694, allocations: 0.5816 MB / 383.6 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.2697, allocations: 93.66 kB / 383.7 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003208/0.27, allocations: 186 kB / 383.9 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.27, allocations: 5.641 kB / 383.9 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.2711, allocations: 0.613 MB / 384.5 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/0.2712, allocations: 57.59 kB / 384.6 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.2713, allocations: 5.438 kB / 384.6 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.2727, allocations: 0.8465 MB / 385.4 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.2727, allocations: 21.84 kB / 385.4 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.4e-05/0.2728, allocations: 48.56 kB / 385.5 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004233/0.2732, allocations: 232.8 kB / 385.7 MB, free: 8.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2732, allocations: 3.188 kB / 385.7 MB, free: 8.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2733, allocations: 0 / 385.7 MB, free: 8.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.2733, allocations: 0 / 385.7 MB, free: 8.395 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.0004698/0.2737, allocations: 422.5 kB / 386.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.2738, allocations: 9.281 kB / 386.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.534e-05/0.2739, allocations: 40.41 kB / 386.2 MB, free: 7.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004231/0.2743, allocations: 38.92 kB / 386.2 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.2745, allocations: 194.2 kB / 386.4 MB, free: 7.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.2745, allocations: 11.64 kB / 386.4 MB, free: 7.754 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.2746, allocations: 10.75 kB / 386.4 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.2748, allocations: 144.7 kB / 386.6 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2748, allocations: 0 / 386.6 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.2748, allocations: 5.281 kB / 386.6 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.2748, allocations: 6.5 kB / 386.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.275, allocations: 109 kB / 386.7 MB, free: 7.664 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.000587/0.2756, allocations: 0.666 MB / 387.3 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.2758, allocations: 89.77 kB / 387.4 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.975e-05/0.2758, allocations: 39.44 kB / 387.5 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004242/0.2763, allocations: 0.8035 MB / 388.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.2763, allocations: 32.22 kB / 388.3 MB, free: 6.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.2763, allocations: 0 / 388.3 MB, free: 6.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002755/0.2766, allocations: 129.3 kB / 388.4 MB, free: 6.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.2766, allocations: 52.22 kB / 388.5 MB, free: 5.953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/0.2767, allocations: 127.3 kB / 388.6 MB, free: 5.844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.2767, allocations: 30.45 kB / 388.6 MB, free: 5.812 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.2768, allocations: 101.3 kB / 388.7 MB, free: 5.715 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.2768, allocations: 43.88 kB / 388.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.2768, allocations: 34.42 kB / 388.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.725e-05/0.2769, allocations: 320.2 kB / 389.1 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/0.2769, allocations: 25.78 kB / 389.2 MB, free: 5.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.43e-05/0.277, allocations: 71.28 kB / 389.2 MB, free: 5.309 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.2771, allocations: 106.2 kB / 389.3 MB, free: 5.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2772, allocations: 5.281 kB / 389.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001858/0.2773, allocations: 139.6 kB / 389.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2774, allocations: 7.219 kB / 389.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2774, allocations: 1.719 kB / 389.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2774, allocations: 2.156 kB / 389.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.2775, allocations: 30.23 kB / 389.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.2775, allocations: 6.844 kB / 389.5 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.693e-05/0.2776, allocations: 15 kB / 389.5 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.2776, allocations: 11.34 kB / 389.5 MB, free: 5.184 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.684e-05/0.2777, allocations: 127.8 kB / 389.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.2777, allocations: 9.078 kB / 389.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.278, allocations: 154.3 kB / 389.8 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.278, allocations: 2.781 kB / 389.8 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.278, allocations: 6.75 kB / 389.8 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.278, allocations: 4.562 kB / 389.8 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.2784, allocations: 392.7 kB / 390.2 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2784, allocations: 0.6562 kB / 390.2 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.541e-05/0.2785, allocations: 24.95 kB / 390.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.2785, allocations: 4.594 kB / 390.2 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.2785, allocations: 6.562 kB / 390.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2785, allocations: 1.188 kB / 390.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2785, allocations: 0.5156 kB / 390.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.2787, allocations: 197.8 kB / 390.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.2787, allocations: 103.5 kB / 390.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.2788, allocations: 4.344 kB / 390.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.122e-05/0.2789, allocations: 3.844 kB / 390.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.2789, allocations: 8.156 kB / 390.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.2789, allocations: 8.422 kB / 390.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.643e-05/0.279, allocations: 93.34 kB / 390.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.279, allocations: 0 / 390.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003295/0.2793, allocations: 61.62 kB / 390.7 MB, free: 4.348 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.0004877/0.2798, allocations: 0.7946 MB / 391.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.28, allocations: 90.23 kB / 391.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.28, allocations: 0 / 391.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.659e-05/0.2801, allocations: 37.23 kB / 391.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.2805, allocations: 56.02 kB / 391.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.2817, allocations: 1.558 MB / 393.3 MB, free: 2.227 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.2818, allocations: 0.6932 MB / 394 MB, free: 1.531 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.2819, allocations: 36.06 kB / 394 MB, free: 1.516 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.282, allocations: 27.7 kB / 394 MB, free: 1.5 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.282, allocations: 1.125 kB / 394 MB, free: 1.5 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.3024, allocations: 3.821 MB / 397.8 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.281/7.583, allocations: 4.969 kB / 397.8 MB, free: 0.7578 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