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.001203/0.001203, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.001188/0.001188, allocations: 205.6 kB / 22.12 MB, free: 0.9297 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.309/1.309, allocations: 207.6 MB / 232.5 MB, free: 11.5 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.001619/0.001619, allocations: 51.92 kB / 343 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2362, allocations: 49.13 MB / 392.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007648/0.2439, allocations: 7.808 MB / 399.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006487/0.2445, allocations: 0.6265 MB / 400.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.2446, allocations: 0.5312 kB / 400.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.2448, allocations: 25.03 kB / 400.6 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.246, allocations: 0.5832 MB / 401.1 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.2462, allocations: 95.62 kB / 401.2 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.2464, allocations: 179.9 kB / 401.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.2464, allocations: 8.656 kB / 401.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009396/0.2474, allocations: 0.6163 MB / 402 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.384e-05/0.2474, allocations: 50.14 kB / 402.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.2475, allocations: 5.5 kB / 402.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.2486, allocations: 0.8566 MB / 402.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.215e-05/0.2486, allocations: 21.36 kB / 403 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.2487, allocations: 44.78 kB / 403 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.2491, allocations: 236.6 kB / 403.2 MB, free: 1.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.2491, allocations: 1.281 kB / 403.2 MB, free: 1.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2491, allocations: 4.547 kB / 403.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.2491, allocations: 4 kB / 403.3 MB, free: 1.945 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.0003799/0.2494, allocations: 429.5 kB / 403.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.2495, allocations: 11.11 kB / 403.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.483e-05/0.2495, allocations: 2.25 kB / 403.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.635e-05/0.2495, allocations: 39.8 kB / 403.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000364/0.2499, allocations: 36.48 kB / 403.8 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.2501, allocations: 195 kB / 404 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.2501, allocations: 3.625 kB / 404 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.2501, allocations: 16.66 kB / 404 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.2503, allocations: 137.1 kB / 404.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2503, allocations: 0 / 404.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.2503, allocations: 3.047 kB / 404.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2503, allocations: 1.781 kB / 404.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.2505, allocations: 110.2 kB / 404.2 MB, free: 1.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.0005073/0.251, allocations: 0.6718 MB / 404.9 MB, free: 492 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.2511, allocations: 79.02 kB / 405 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.2512, allocations: 31.81 kB / 405 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005452/0.2517, allocations: 0.8127 MB / 405.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.2517, allocations: 36.05 kB / 405.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.2517, allocations: 0 / 405.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002877/0.252, allocations: 125.4 kB / 406 MB, free: 15.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.2521, allocations: 62.62 kB / 406 MB, free: 15.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.476e-05/0.2522, allocations: 111 kB / 406.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.2522, allocations: 30.95 kB / 406.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.2523, allocations: 100.4 kB / 406.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.2523, allocations: 52.81 kB / 406.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/0.2524, allocations: 38.95 kB / 406.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2525, allocations: 318.8 kB / 406.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.2525, allocations: 26.95 kB / 406.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.573e-05/0.2526, allocations: 74.67 kB / 406.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.2527, allocations: 107.8 kB / 406.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2527, allocations: 0 / 406.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002097/0.253, allocations: 144.5 kB / 407 MB, free: 14.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.253, allocations: 6.938 kB / 407 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.253, allocations: 1.344 kB / 407 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.253, allocations: 2.688 kB / 407 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.2531, allocations: 41.33 kB / 407.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2531, allocations: 2.422 kB / 407.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/0.2532, allocations: 11.48 kB / 407.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.2532, allocations: 11.97 kB / 407.1 MB, free: 14.41 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.034e-05/0.2533, allocations: 115.9 kB / 407.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.2533, allocations: 12.27 kB / 407.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.2536, allocations: 144.2 kB / 407.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2536, allocations: 5.906 kB / 407.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2536, allocations: 4.609 kB / 407.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2536, allocations: 0.75 kB / 407.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.254, allocations: 399.6 kB / 407.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.254, allocations: 7.938 kB / 407.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.348e-05/0.2541, allocations: 21.2 kB / 407.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2541, allocations: 1.375 kB / 407.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.2541, allocations: 6.125 kB / 407.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2541, allocations: 1.375 kB / 407.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2541, allocations: 0.6562 kB / 407.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.2543, allocations: 198 kB / 408 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-05/0.2544, allocations: 103.8 kB / 408.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.2544, allocations: 1.625 kB / 408.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.03e-05/0.2545, allocations: 6.188 kB / 408.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.2545, allocations: 11.84 kB / 408.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.2545, allocations: 5.203 kB / 408.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.53e-05/0.2546, allocations: 93.77 kB / 408.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2546, allocations: 1.156 kB / 408.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003201/0.2549, allocations: 61.7 kB / 408.3 MB, free: 13.46 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.0006317/0.2556, allocations: 0.7971 MB / 409.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.2557, allocations: 84.05 kB / 409.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2557, allocations: 1.344 kB / 409.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.597e-05/0.2558, allocations: 38.2 kB / 409.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.2562, allocations: 35.64 kB / 409.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.2577, allocations: 1.576 MB / 410.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.2579, allocations: 0.7003 MB / 411.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.2581, allocations: 34.16 kB / 411.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.2581, allocations: 28.3 kB / 411.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2581, allocations: 0 / 411.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.2756, allocations: 3.845 MB / 415.4 MB, free: 8.711 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/7.86, allocations: 7.984 kB / 415.4 MB, free: 8.703 MB / 334.1 MB " [Timeout remaining time 652] (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: 10.085063053003978]