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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.005446/0.005446, allocations: 110.6 kB / 21.97 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 206.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 207.6 MB / 236 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 45.34 kB / 348 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2174, allocations: 49.17 MB / 397.1 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007811/0.2252, allocations: 7.856 MB / 405 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006422/0.2258, allocations: 0.6275 MB / 405.6 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.037e-05/0.2259, allocations: 0 / 405.6 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.2261, allocations: 31.02 kB / 405.6 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.2273, allocations: 0.6029 MB / 406.2 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.2275, allocations: 92.47 kB / 406.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.2277, allocations: 187.4 kB / 406.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.2277, allocations: 8.578 kB / 406.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009622/0.2287, allocations: 0.6255 MB / 407.1 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.614e-05/0.2288, allocations: 49.36 kB / 407.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.2288, allocations: 5.594 kB / 407.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.23, allocations: 0.8871 MB / 408.1 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.2301, allocations: 21.41 kB / 408.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.2301, allocations: 44.05 kB / 408.2 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.2304, allocations: 238.8 kB / 408.4 MB, free: 2.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2304, allocations: 0 / 408.4 MB, free: 2.184 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2304, allocations: 3.938 kB / 408.4 MB, free: 2.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.2305, allocations: 4 kB / 408.4 MB, free: 2.176 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.0003534/0.2308, allocations: 350.7 kB / 408.7 MB, free: 1.859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.2308, allocations: 13.58 kB / 408.7 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.196e-05/0.2309, allocations: 2.359 kB / 408.8 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.624e-05/0.2309, allocations: 45.97 kB / 408.8 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003461/0.2312, allocations: 34.19 kB / 408.8 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.2314, allocations: 141.5 kB / 409 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.2314, allocations: 11.12 kB / 409 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.2314, allocations: 13.62 kB / 409 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.2316, allocations: 129.1 kB / 409.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2316, allocations: 1.375 kB / 409.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.2316, allocations: 5.375 kB / 409.1 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2317, allocations: 3.875 kB / 409.1 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.2318, allocations: 112 kB / 409.2 MB, free: 1.52 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.0004975/0.2323, allocations: 0.6397 MB / 409.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.2324, allocations: 75.33 kB / 410 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.2325, allocations: 36.77 kB / 410 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002409/0.2327, allocations: 62.31 kB / 410 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.2327, allocations: 32.53 kB / 410.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.2327, allocations: 3.938 kB / 410.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002493/0.233, allocations: 130.3 kB / 410.2 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.233, allocations: 56.41 kB / 410.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.728e-05/0.2331, allocations: 113.1 kB / 410.4 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.2331, allocations: 34.8 kB / 410.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.2331, allocations: 105.2 kB / 410.5 MB, free: 424 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.2331, allocations: 48.56 kB / 410.6 MB, free: 384 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.2332, allocations: 37.22 kB / 410.6 MB, free: 356 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.619e-05/0.2332, allocations: 315.5 kB / 410.9 MB, free: 36 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/0.2333, allocations: 27.19 kB / 410.9 MB, free: 28 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.995e-05/0.2333, allocations: 71.62 kB / 411 MB, free: 15.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.2335, allocations: 105.8 kB / 411.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2335, allocations: 1.406 kB / 411.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002186/0.2337, allocations: 148.8 kB / 411.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2337, allocations: 6.969 kB / 411.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2337, allocations: 1.688 kB / 411.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2337, allocations: 2.531 kB / 411.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.2338, allocations: 36.41 kB / 411.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2338, allocations: 2.406 kB / 411.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.801e-05/0.2339, allocations: 15.61 kB / 411.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.2339, allocations: 7.375 kB / 411.3 MB, free: 15.78 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 9.493e-05/0.234, allocations: 124.6 kB / 411.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.2341, allocations: 8.359 kB / 411.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002833/0.2343, allocations: 140.2 kB / 411.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2343, allocations: 5.312 kB / 411.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2343, allocations: 0.6094 kB / 411.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2343, allocations: 0.6094 kB / 411.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.2348, allocations: 366.2 kB / 412 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2348, allocations: 9.031 kB / 412 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.507e-05/0.2349, allocations: 24.69 kB / 412 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2349, allocations: 0.9062 kB / 412 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.2349, allocations: 6.609 kB / 412 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2349, allocations: 0.9375 kB / 412 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2349, allocations: 0.5625 kB / 412 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.2351, allocations: 207.2 kB / 412.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.2351, allocations: 22.11 kB / 412.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.2351, allocations: 6.266 kB / 412.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.16e-05/0.2352, allocations: 6.094 kB / 412.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.2353, allocations: 11.94 kB / 412.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.2353, allocations: 6.219 kB / 412.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.691e-05/0.2353, allocations: 94.73 kB / 412.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2353, allocations: 0 / 412.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.2356, allocations: 60.62 kB / 412.4 MB, free: 14.95 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.0006321/0.2363, allocations: 0.7939 MB / 413.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.2364, allocations: 83.3 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2364, allocations: 0.875 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.497e-05/0.2365, allocations: 38.47 kB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.2369, allocations: 43.02 kB / 413.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.2384, allocations: 1.574 MB / 414.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.2387, allocations: 0.6935 MB / 415.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.2388, allocations: 34.02 kB / 415.7 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.704e-05/0.2389, allocations: 25.59 kB / 415.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2389, allocations: 0 / 415.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.2611, allocations: 4.021 MB / 419.7 MB, free: 9.691 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.61, allocations: 19.06 kB / 419.7 MB, free: 9.676 MB / 334.1 MB " [Timeout remaining time 649] (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 --stepSize=0.000201919 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.863292014983017]