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.001307/0.001307, allocations: 105.3 kB / 17.58 MB, free: 5.559 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.001249/0.001249, allocations: 192 kB / 18.51 MB, free: 4.641 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.322/1.322, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001203/0.001203, allocations: 51.92 kB / 280.7 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07962/0.08084, allocations: 46.64 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.008893/0.08977, allocations: 7.746 MB / 335.1 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007584/0.09055, allocations: 0.6386 MB / 335.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.0906, allocations: 0 / 335.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.09082, allocations: 31.77 kB / 335.8 MB, free: 11.9 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.092, allocations: 0.5761 MB / 336.4 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.09221, allocations: 91.84 kB / 336.5 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.09241, allocations: 171.3 kB / 336.6 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.09245, allocations: 11.92 kB / 336.6 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008669/0.09333, allocations: 0.6084 MB / 337.2 MB, free: 10.44 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/0.09341, allocations: 51.77 kB / 337.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.09343, allocations: 4 kB / 337.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.09457, allocations: 0.8618 MB / 338.2 MB, free: 9.523 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.09462, allocations: 19.92 kB / 338.2 MB, free: 9.504 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.09469, allocations: 51.78 kB / 338.2 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.09504, allocations: 235.5 kB / 338.5 MB, free: 9.223 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.09505, allocations: 0 / 338.5 MB, free: 9.223 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.09505, allocations: 0 / 338.5 MB, free: 9.223 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.09506, allocations: 0 / 338.5 MB, free: 9.223 MB / 286.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.0004311/0.0955, allocations: 427.1 kB / 338.9 MB, free: 8.758 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.09553, allocations: 8.031 kB / 338.9 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.09558, allocations: 50.67 kB / 338.9 MB, free: 8.691 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003473/0.09594, allocations: 32.81 kB / 339 MB, free: 8.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.09611, allocations: 184.4 kB / 339.1 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.09613, allocations: 8.375 kB / 339.2 MB, free: 8.434 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.09615, allocations: 8.375 kB / 339.2 MB, free: 8.426 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.09636, allocations: 140.9 kB / 339.3 MB, free: 8.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.09638, allocations: 0 / 339.3 MB, free: 8.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.0964, allocations: 8 kB / 339.3 MB, free: 8.262 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.09641, allocations: 0 / 339.3 MB, free: 8.262 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.09657, allocations: 111.8 kB / 339.4 MB, free: 8.152 MB / 286.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.0006282/0.09721, allocations: 0.6643 MB / 340.1 MB, free: 7.414 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.09734, allocations: 90.48 kB / 340.2 MB, free: 7.316 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.0974, allocations: 40.78 kB / 340.2 MB, free: 7.273 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005496/0.09796, allocations: 0.8076 MB / 341 MB, free: 6.281 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.098, allocations: 34.56 kB / 341.1 MB, free: 6.238 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.09801, allocations: 4 kB / 341.1 MB, free: 6.234 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002541/0.09827, allocations: 137.9 kB / 341.2 MB, free: 6.094 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.0983, allocations: 51.41 kB / 341.2 MB, free: 6.031 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.177e-05/0.09839, allocations: 121.8 kB / 341.4 MB, free: 5.902 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.09841, allocations: 25.7 kB / 341.4 MB, free: 5.871 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.09848, allocations: 103.8 kB / 341.5 MB, free: 5.766 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.09851, allocations: 43.39 kB / 341.5 MB, free: 5.723 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.09857, allocations: 41.61 kB / 341.6 MB, free: 5.676 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.09868, allocations: 322.8 kB / 341.9 MB, free: 5.352 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/0.09873, allocations: 23.98 kB / 341.9 MB, free: 5.328 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.508e-05/0.09881, allocations: 69.06 kB / 342 MB, free: 5.242 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.09895, allocations: 109.1 kB / 342.1 MB, free: 5.117 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.09896, allocations: 0 / 342.1 MB, free: 5.117 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002426/0.09921, allocations: 137.4 kB / 342.2 MB, free: 4.977 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.09923, allocations: 11.28 kB / 342.2 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.09924, allocations: 0 / 342.2 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.09925, allocations: 4.156 kB / 342.2 MB, free: 4.965 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.09937, allocations: 31.98 kB / 342.3 MB, free: 4.934 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.09938, allocations: 7.922 kB / 342.3 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.09944, allocations: 15.84 kB / 342.3 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.09946, allocations: 8 kB / 342.3 MB, free: 4.902 MB / 286.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.383e-05/0.09955, allocations: 122.2 kB / 342.4 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.09959, allocations: 7.906 kB / 342.4 MB, free: 4.766 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.09986, allocations: 146 kB / 342.6 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.09987, allocations: 7.875 kB / 342.6 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.09988, allocations: 0 / 342.6 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.09989, allocations: 4 kB / 342.6 MB, free: 4.609 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.1003, allocations: 391.1 kB / 343 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1003, allocations: 4 kB / 343 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.439e-05/0.1004, allocations: 31.86 kB / 343 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1004, allocations: 0 / 343 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.1004, allocations: 4 kB / 343 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1004, allocations: 0 / 343 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1004, allocations: 4 kB / 343 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.1006, allocations: 199.6 kB / 343.2 MB, free: 3.918 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/0.1007, allocations: 97.02 kB / 343.3 MB, free: 3.805 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.1007, allocations: 4 kB / 343.3 MB, free: 3.801 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.1008, allocations: 4 kB / 343.3 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.1008, allocations: 11.98 kB / 343.3 MB, free: 3.785 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.1008, allocations: 8 kB / 343.3 MB, free: 3.777 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.362e-05/0.1009, allocations: 91.27 kB / 343.4 MB, free: 3.688 MB / 286.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1009, allocations: 0 / 343.4 MB, free: 3.688 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003027/0.1012, allocations: 63.84 kB / 343.5 MB, free: 3.625 MB / 286.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.0005644/0.1018, allocations: 0.8179 MB / 344.3 MB, free: 2.777 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.1019, allocations: 87.84 kB / 344.4 MB, free: 2.691 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1019, allocations: 0 / 344.4 MB, free: 2.691 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.236e-05/0.102, allocations: 43.91 kB / 344.4 MB, free: 2.648 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.1024, allocations: 40.27 kB / 344.5 MB, free: 2.609 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.1039, allocations: 1.56 MB / 346 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.1042, allocations: 0.6967 MB / 346.7 MB, free: 220 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000143/0.1044, allocations: 36.73 kB / 346.7 MB, free: 184 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.1045, allocations: 23.44 kB / 346.8 MB, free: 160 kB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1045, allocations: 0 / 346.8 MB, free: 160 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.1293, allocations: 3.845 MB / 350.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.335/7.464, allocations: 4.062 kB / 350.6 MB, free: 12.25 MB / 302.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