Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.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.002097/0.002097, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.001734/0.001734, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.599/1.599, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") [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.002001/0.002001, allocations: 55 kB / 348.4 MB, free: 9.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2715, allocations: 49.17 MB / 397.6 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01448/0.286, allocations: 13.03 MB / 410.6 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01462/0.3006, allocations: 11.62 MB / 422.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.3008, allocations: 1.125 kB / 422.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004201/0.3012, allocations: 76.48 kB / 422.3 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004049/0.3016, allocations: 88.66 kB / 422.4 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01898/0.3206, allocations: 5.067 MB / 427.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005159/0.3211, allocations: 237.1 kB / 427.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.742e-05/0.3212, allocations: 9.609 kB / 427.7 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000633/0.3218, allocations: 200.9 kB / 427.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.322, allocations: 75.09 kB / 428 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.322, allocations: 8.531 kB / 428 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01596/0.338, allocations: 7.005 MB / 435 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.437e-05/0.3381, allocations: 31.84 kB / 435 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.3383, allocations: 67.73 kB / 435.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009343/0.3476, allocations: 3.867 MB / 439 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3476, allocations: 4 kB / 439 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3476, allocations: 0 / 439 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.3476, allocations: 0 / 439 MB, free: 10.09 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.005013/0.3526, allocations: 1.099 MB / 440.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3527, allocations: 11.98 kB / 440.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005106/0.3532, allocations: 52.8 kB / 440.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.3536, allocations: 158.3 kB / 440.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.3536, allocations: 16.38 kB / 440.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.3536, allocations: 16.38 kB / 440.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.355, allocations: 388 kB / 440.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.355, allocations: 3.938 kB / 440.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.355, allocations: 11.94 kB / 440.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.355, allocations: 4 kB / 440.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.3565, allocations: 351.6 kB / 441.1 MB, free: 7.91 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.001589/0.3581, allocations: 1.167 MB / 442.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008797/0.3589, allocations: 267.8 kB / 442.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.3592, allocations: 106.9 kB / 442.6 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08835/0.4476, allocations: 25.05 MB / 467.6 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.851e-05/0.4476, allocations: 42.5 kB / 467.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 2.174e-06/0.4476, allocations: 4 kB / 467.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.006869/0.4545, allocations: 1.504 MB / 469.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.4546, allocations: 106.8 kB / 469.3 MB, free: 11.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.4547, allocations: 122.2 kB / 469.4 MB, free: 11.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.4548, allocations: 33.7 kB / 469.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.901e-05/0.4548, allocations: 100.6 kB / 469.5 MB, free: 11.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.4549, allocations: 123 kB / 469.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.4551, allocations: 73.62 kB / 469.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4552, allocations: 318.8 kB / 470 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/0.4556, allocations: 143.8 kB / 470.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/0.4561, allocations: 202.5 kB / 470.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008524/0.4569, allocations: 354.5 kB / 470.7 MB, free: 9.918 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4569, allocations: 0 / 470.7 MB, free: 9.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001136/0.4581, allocations: 422 kB / 471.1 MB, free: 9.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4581, allocations: 4 kB / 471.1 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.4581, allocations: 7.938 kB / 471.2 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002454/0.4583, allocations: 33.05 kB / 471.2 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.4588, allocations: 95.81 kB / 471.3 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004367/0.4592, allocations: 0.5445 MB / 471.8 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.4595, allocations: 24.02 kB / 471.8 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.4596, allocations: 16.09 kB / 471.9 MB, free: 8.746 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.4597, allocations: 143.6 kB / 472 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.4598, allocations: 15.91 kB / 472 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/0.4622, allocations: 1.494 MB / 473.5 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-05/0.4622, allocations: 23.97 kB / 473.5 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4622, allocations: 0 / 473.5 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4622, allocations: 3.984 kB / 473.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/0.4655, allocations: 2.01 MB / 475.5 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.4655, allocations: 4 kB / 475.6 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004634/0.466, allocations: 84 kB / 475.6 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003273/0.4663, allocations: 76.73 kB / 475.7 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.4664, allocations: 8 kB / 475.7 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004598/0.4668, allocations: 0.6031 MB / 476.3 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4668, allocations: 0 / 476.3 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/0.4693, allocations: 1.737 MB / 478.1 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.4694, allocations: 55.56 kB / 478.1 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.768e-05/0.4694, allocations: 8 kB / 478.1 MB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.4698, allocations: 19.92 kB / 478.1 MB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.4699, allocations: 31.94 kB / 478.2 MB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.4699, allocations: 19.98 kB / 478.2 MB, free: 2.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.753e-05/0.47, allocations: 91.22 kB / 478.3 MB, free: 2.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.47, allocations: 4 kB / 478.3 MB, free: 2.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002706/0.4727, allocations: 0.9708 MB / 479.3 MB, free: 1.207 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004484/0.4772, allocations: 1.157 MB / 480.4 MB, free: 36 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.4787, allocations: 0.6011 MB / 481 MB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4787, allocations: 0 / 481 MB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00088/0.4796, allocations: 472.6 kB / 481.5 MB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007737/0.4803, allocations: 68.42 kB / 481.5 MB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.483, allocations: 1.364 MB / 482.9 MB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.4835, allocations: 0.818 MB / 483.7 MB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.4836, allocations: 39.42 kB / 483.8 MB, free: 12.61 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4836, allocations: 0 / 483.8 MB, free: 12.61 MB / 398.1 MB Notification: Performance of Templates: time 0.03454/0.5181, allocations: 21.77 MB / 0.4937 GB, free: 6.801 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.2.3_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.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.003352370113134]