Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001843/0.001843, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002331/0.002331, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 47.94 kB / 377.8 MB, free: 3.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2431, allocations: 53.37 MB / 431.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007532/0.2507, allocations: 4.986 MB / 436.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009186/0.2516, allocations: 0.6231 MB / 436.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.2516, allocations: 0 / 436.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.2519, allocations: 31.77 kB / 436.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.2534, allocations: 0.6151 MB / 437.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.2537, allocations: 99.48 kB / 437.5 MB, free: 492 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.2539, allocations: 183.2 kB / 437.7 MB, free: 308 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.254, allocations: 7.984 kB / 437.7 MB, free: 300 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.2552, allocations: 0.6236 MB / 438.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.2553, allocations: 43.83 kB / 438.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.2553, allocations: 8 kB / 438.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.2569, allocations: 0.9198 MB / 439.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.2569, allocations: 19.92 kB / 439.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.793e-05/0.257, allocations: 51.72 kB / 439.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004628/0.2575, allocations: 244.3 kB / 439.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2575, allocations: 3.938 kB / 439.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2575, allocations: 0 / 439.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2575, allocations: 3.938 kB / 439.6 MB, free: 14.38 MB / 350.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.0005283/0.258, allocations: 353.6 kB / 439.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.258, allocations: 8.031 kB / 439.9 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.301e-05/0.2581, allocations: 38.75 kB / 440 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003862/0.2585, allocations: 36.86 kB / 440 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.2588, allocations: 134.4 kB / 440.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.2588, allocations: 12.12 kB / 440.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.2588, allocations: 8 kB / 440.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.2591, allocations: 139.9 kB / 440.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2591, allocations: 3.938 kB / 440.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.2591, allocations: 4 kB / 440.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.2591, allocations: 4 kB / 440.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.2593, allocations: 115.9 kB / 440.4 MB, free: 13.46 MB / 350.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.0007986/0.2601, allocations: 0.6285 MB / 441 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.2602, allocations: 74.55 kB / 441.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.924e-05/0.2603, allocations: 44.78 kB / 441.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/0.2606, allocations: 63.88 kB / 441.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.2606, allocations: 30.56 kB / 441.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.2606, allocations: 0 / 441.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003006/0.2609, allocations: 133.8 kB / 441.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.2609, allocations: 51.41 kB / 441.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.2611, allocations: 113.8 kB / 441.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.2611, allocations: 33.7 kB / 441.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.2611, allocations: 103.9 kB / 441.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.2612, allocations: 47.64 kB / 441.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.2612, allocations: 37.66 kB / 441.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2614, allocations: 318.8 kB / 442.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.497e-05/0.2614, allocations: 28.36 kB / 442.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.2615, allocations: 79.84 kB / 442.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.2617, allocations: 99.33 kB / 442.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2617, allocations: 4 kB / 442.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002239/0.2619, allocations: 137.5 kB / 442.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2619, allocations: 4 kB / 442.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2619, allocations: 4 kB / 442.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.262, allocations: 3.938 kB / 442.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.2621, allocations: 39.92 kB / 442.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2621, allocations: 0 / 442.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.236e-05/0.2621, allocations: 15.88 kB / 442.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.2622, allocations: 12 kB / 442.5 MB, free: 11.21 MB / 350.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 0.0001037/0.2623, allocations: 121.9 kB / 442.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.2623, allocations: 7.953 kB / 442.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.2626, allocations: 157.9 kB / 442.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2626, allocations: 0 / 442.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2626, allocations: 0 / 442.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2626, allocations: 0 / 442.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.2631, allocations: 375.5 kB / 443.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2631, allocations: 0 / 443.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.228e-05/0.2632, allocations: 19.98 kB / 443.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.2632, allocations: 4 kB / 443.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.2632, allocations: 7.938 kB / 443.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2632, allocations: 0 / 443.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2632, allocations: 0 / 443.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.2634, allocations: 207.4 kB / 443.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.2635, allocations: 15.94 kB / 443.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.2635, allocations: 12 kB / 443.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.682e-05/0.2636, allocations: 3.984 kB / 443.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.2636, allocations: 7.984 kB / 443.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.2636, allocations: 8 kB / 443.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.13e-05/0.2637, allocations: 91.27 kB / 443.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2637, allocations: 0 / 443.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003363/0.264, allocations: 63.81 kB / 443.6 MB, free: 10.05 MB / 350.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.0007158/0.2647, allocations: 0.7965 MB / 444.4 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.2649, allocations: 87.84 kB / 444.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2649, allocations: 0 / 444.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.077e-05/0.265, allocations: 39.92 kB / 444.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.2654, allocations: 31.97 kB / 444.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.2671, allocations: 1.584 MB / 446.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.2674, allocations: 0.6928 MB / 446.8 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00012/0.2675, allocations: 32.88 kB / 446.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.2676, allocations: 35.42 kB / 446.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2676, allocations: 0 / 446.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.297, allocations: 4.044 MB / 450.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.13, allocations: 8.797 kB / 450.9 MB, free: 2.691 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 13.500881987158209]