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.001461/0.001461, allocations: 106.9 kB / 21.96 MB, free: 4.703 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.001532/0.001532, allocations: 218 kB / 25.26 MB, free: 2.875 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.272/1.272, allocations: 207.7 MB / 236.1 MB, free: 9.805 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.001641/0.001641, allocations: 49.64 kB / 348 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2245, allocations: 49.16 MB / 397.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007541/0.2321, allocations: 7.161 MB / 404.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006493/0.2327, allocations: 0.5668 MB / 404.8 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.2328, allocations: 1.5 kB / 404.8 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.233, allocations: 32.52 kB / 404.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.2343, allocations: 0.6069 MB / 405.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.2344, allocations: 104.8 kB / 405.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.2347, allocations: 183.7 kB / 405.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.2347, allocations: 8.875 kB / 405.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.2358, allocations: 0.6229 MB / 406.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.2358, allocations: 57.8 kB / 406.4 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.2359, allocations: 5.656 kB / 406.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.2372, allocations: 0.8786 MB / 407.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.2372, allocations: 18.92 kB / 407.4 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.2373, allocations: 44.84 kB / 407.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.2376, allocations: 231.2 kB / 407.6 MB, free: 2.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2376, allocations: 5.031 kB / 407.6 MB, free: 2.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2376, allocations: 0 / 407.6 MB, free: 2.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.83e-06/0.2376, allocations: 0 / 407.6 MB, free: 2.891 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.0003733/0.238, allocations: 353.5 kB / 408 MB, free: 2.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.238, allocations: 14.42 kB / 408 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.734e-05/0.238, allocations: 7.25 kB / 408 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.763e-05/0.2381, allocations: 39.02 kB / 408 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003645/0.2384, allocations: 36.38 kB / 408.1 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.2386, allocations: 141.5 kB / 408.2 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.2386, allocations: 3.219 kB / 408.2 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.2386, allocations: 17.5 kB / 408.2 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.2389, allocations: 217 kB / 408.4 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.2389, allocations: 3.984 kB / 408.4 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.2389, allocations: 6.625 kB / 408.4 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2389, allocations: 1.438 kB / 408.4 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.2391, allocations: 109.7 kB / 408.6 MB, free: 2.133 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.0005054/0.2396, allocations: 0.5755 MB / 409.1 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.2397, allocations: 82.14 kB / 409.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.207e-05/0.2398, allocations: 36.78 kB / 409.2 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002493/0.24, allocations: 60.58 kB / 409.3 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.24, allocations: 31.94 kB / 409.3 MB, free: 1.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.24, allocations: 0 / 409.3 MB, free: 1.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002526/0.2403, allocations: 129.8 kB / 409.5 MB, free: 1.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.2403, allocations: 62.09 kB / 409.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.028e-05/0.2404, allocations: 115.9 kB / 409.6 MB, free: 1.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.2404, allocations: 31.08 kB / 409.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.2404, allocations: 96.7 kB / 409.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.2404, allocations: 53.08 kB / 409.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.2405, allocations: 37.08 kB / 409.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.726e-05/0.2405, allocations: 324 kB / 410.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.706e-05/0.2406, allocations: 25.84 kB / 410.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.158e-05/0.2406, allocations: 68.61 kB / 410.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.2407, allocations: 105.6 kB / 410.4 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2407, allocations: 0 / 410.4 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001896/0.2409, allocations: 144.9 kB / 410.5 MB, free: 500 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2409, allocations: 6.734 kB / 410.5 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2409, allocations: 1.344 kB / 410.5 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.241, allocations: 2.688 kB / 410.5 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.2411, allocations: 37.08 kB / 410.6 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2411, allocations: 3.141 kB / 410.6 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.858e-05/0.2411, allocations: 11.67 kB / 410.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.2412, allocations: 11.2 kB / 410.6 MB, free: 480 kB / 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 5.838e-05/0.2412, allocations: 119.8 kB / 410.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.2413, allocations: 13.59 kB / 410.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.2415, allocations: 140.1 kB / 410.8 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2415, allocations: 9.297 kB / 410.9 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2415, allocations: 0 / 410.9 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2415, allocations: 1.75 kB / 410.9 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.2419, allocations: 353.4 kB / 411.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.2419, allocations: 4.594 kB / 411.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.559e-05/0.242, allocations: 23.84 kB / 411.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.242, allocations: 5.156 kB / 411.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.242, allocations: 7.641 kB / 411.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.242, allocations: 7.938 kB / 411.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.242, allocations: 1.281 kB / 411.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.2422, allocations: 198.5 kB / 411.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.2423, allocations: 22.95 kB / 411.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.2423, allocations: 5.766 kB / 411.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.075e-05/0.2424, allocations: 1.859 kB / 411.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.2424, allocations: 9.188 kB / 411.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.2424, allocations: 9.844 kB / 411.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.945e-05/0.2425, allocations: 93.7 kB / 411.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2425, allocations: 7.938 kB / 411.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003239/0.2428, allocations: 58.48 kB / 411.6 MB, free: 15.64 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.000684/0.2435, allocations: 0.7834 MB / 412.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.2437, allocations: 91.75 kB / 412.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2437, allocations: 0 / 412.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.326e-05/0.2437, allocations: 30.8 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.2441, allocations: 51.02 kB / 412.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.2456, allocations: 1.568 MB / 414.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.296e-05/0.2457, allocations: 81.47 kB / 414.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.2458, allocations: 30.27 kB / 414.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.862e-05/0.2459, allocations: 40.25 kB / 414.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2459, allocations: 1.25 kB / 414.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.2679, allocations: 4.145 MB / 418.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.47, allocations: 18.75 kB / 418.5 MB, free: 10.91 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.751133752986789]