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.001333/0.001333, allocations: 82.61 kB / 21.99 MB, free: 4.754 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.0014/0.0014, allocations: 157.4 kB / 25.25 MB, free: 2.738 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.353/1.353, allocations: 158.6 MB / 187 MB, free: 6.344 MB / 174.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.001946/0.001946, allocations: 59.86 kB / 299.3 MB, free: 6.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2193, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.0161/0.2354, allocations: 11.84 MB / 360.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.2491, allocations: 10.13 MB / 370.5 MB, free: 9.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.2491, allocations: 0 / 370.5 MB, free: 9.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.2495, allocations: 59.59 kB / 370.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.2497, allocations: 99.41 kB / 370.6 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01239/0.2621, allocations: 5.018 MB / 375.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003693/0.2625, allocations: 234.9 kB / 375.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.622e-05/0.2626, allocations: 9.641 kB / 375.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004373/0.263, allocations: 183.3 kB / 376 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.2631, allocations: 67.75 kB / 376.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.2631, allocations: 8 kB / 376.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01273/0.2759, allocations: 6.68 MB / 382.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.419e-05/0.276, allocations: 31.91 kB / 382.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.2761, allocations: 59.78 kB / 382.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007053/0.2831, allocations: 3.874 MB / 386.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2831, allocations: 0 / 386.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2831, allocations: 0 / 386.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.2831, allocations: 0 / 386.8 MB, free: 9.145 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.00447/0.2876, allocations: 1.08 MB / 387.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2877, allocations: 15.98 kB / 387.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004911/0.2881, allocations: 48.8 kB / 387.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.2884, allocations: 158.3 kB / 388.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.2885, allocations: 12.38 kB / 388.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.2885, allocations: 20.38 kB / 388.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.2899, allocations: 439.3 kB / 388.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.2899, allocations: 4 kB / 388.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.2899, allocations: 8 kB / 388.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.2899, allocations: 4 kB / 388.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.2914, allocations: 351.5 kB / 388.9 MB, free: 6.926 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.001417/0.2929, allocations: 1.001 MB / 389.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008969/0.2938, allocations: 279.7 kB / 390.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.294, allocations: 106.5 kB / 390.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09517/0.3892, allocations: 25.15 MB / 415.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.3893, allocations: 34.56 kB / 415.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.923e-06/0.3893, allocations: 0 / 415.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.007162/0.3964, allocations: 1.513 MB / 417 MB, free: 10.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/0.3965, allocations: 106.8 kB / 417.1 MB, free: 10.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.3966, allocations: 125.7 kB / 417.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.3966, allocations: 33.69 kB / 417.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.3967, allocations: 100.7 kB / 417.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.3968, allocations: 126.9 kB / 417.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.397, allocations: 69.69 kB / 417.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3971, allocations: 322.8 kB / 417.8 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004228/0.3975, allocations: 135.9 kB / 417.9 MB, free: 9.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/0.398, allocations: 202.5 kB / 418.1 MB, free: 9.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009025/0.3989, allocations: 342.6 kB / 418.5 MB, free: 9.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3989, allocations: 3.938 kB / 418.5 MB, free: 9.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001177/0.4001, allocations: 429.9 kB / 418.9 MB, free: 8.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.4001, allocations: 8 kB / 418.9 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4001, allocations: 0 / 418.9 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.4003, allocations: 41.05 kB / 419 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.4008, allocations: 91.88 kB / 419 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004438/0.4013, allocations: 0.5601 MB / 419.6 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.4016, allocations: 15.98 kB / 419.6 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.4016, allocations: 16 kB / 419.6 MB, free: 7.855 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.0001648/0.4018, allocations: 149.8 kB / 419.8 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-05/0.4019, allocations: 15.91 kB / 419.8 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.4043, allocations: 1.487 MB / 421.3 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-05/0.4043, allocations: 27.91 kB / 421.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.4043, allocations: 0 / 421.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.4043, allocations: 8.016 kB / 421.3 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/0.4075, allocations: 1.913 MB / 423.2 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.4075, allocations: 0 / 423.2 MB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004605/0.408, allocations: 83.86 kB / 423.3 MB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003094/0.4083, allocations: 72.88 kB / 423.4 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.4083, allocations: 23.98 kB / 423.4 MB, free: 4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004423/0.4088, allocations: 0.5837 MB / 424 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4088, allocations: 3.938 kB / 424 MB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002533/0.4113, allocations: 1.746 MB / 425.7 MB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.4114, allocations: 51.52 kB / 425.8 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.4114, allocations: 12 kB / 425.8 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.4118, allocations: 20.02 kB / 425.8 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.4119, allocations: 39.83 kB / 425.9 MB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.4119, allocations: 15.98 kB / 425.9 MB, free: 1.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.006e-05/0.412, allocations: 95.58 kB / 426 MB, free: 1.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.412, allocations: 0 / 426 MB, free: 1.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002592/0.4146, allocations: 0.9669 MB / 426.9 MB, free: 420 kB / 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.003916/0.4185, allocations: 1.142 MB / 428.1 MB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.4199, allocations: 0.6088 MB / 428.7 MB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4199, allocations: 0 / 428.7 MB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008156/0.4207, allocations: 468.6 kB / 429.1 MB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007702/0.4215, allocations: 76.42 kB / 429.2 MB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.424, allocations: 1.343 MB / 430.6 MB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.4242, allocations: 212.3 kB / 430.8 MB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003451/0.4245, allocations: 137.7 kB / 430.9 MB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.4247, allocations: 44.47 kB / 430.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4247, allocations: 0 / 430.9 MB, free: 12.32 MB / 398.1 MB Notification: Performance of Templates: time 0.05323/0.4779, allocations: 36.29 MB / 467.2 MB, free: 7.953 MB / 430.1 MB " [Timeout remaining time 660] 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 -s ida -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: 7.02872995310463]