Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001741/0.001741, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002482/0.002482, allocations: 206.9 kB / 23.73 MB, free: 4.379 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.789 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: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 43.92 kB / 378.2 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2321, allocations: 53.37 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01652/0.2486, allocations: 11.93 MB / 443.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01421/0.2628, allocations: 10.12 MB / 453.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.2629, allocations: 3.938 kB / 453.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.2633, allocations: 63.66 kB / 453.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.2636, allocations: 91.36 kB / 453.8 MB, free: 476 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0142/0.2778, allocations: 5.043 MB / 458.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.2782, allocations: 235 kB / 459 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/0.2783, allocations: 5.641 kB / 459 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004392/0.2787, allocations: 195.2 kB / 459.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.2788, allocations: 71.75 kB / 459.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.2789, allocations: 8 kB / 459.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01293/0.2918, allocations: 6.966 MB / 466.3 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.2919, allocations: 31.84 kB / 466.3 MB, free: 3.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.292, allocations: 59.73 kB / 466.4 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007671/0.2997, allocations: 3.878 MB / 470.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.2997, allocations: 3.984 kB / 470.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2997, allocations: 0 / 470.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.2997, allocations: 4 kB / 470.2 MB, free: 15.96 MB / 382.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.004991/0.3047, allocations: 1.091 MB / 471.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3047, allocations: 8.031 kB / 471.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005189/0.3052, allocations: 56.84 kB / 471.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.3056, allocations: 166.3 kB / 471.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.3056, allocations: 8.656 kB / 471.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.323e-05/0.3056, allocations: 16.38 kB / 471.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.3071, allocations: 444.2 kB / 472 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.3071, allocations: 3.938 kB / 472 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.3072, allocations: 8 kB / 472 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3072, allocations: 7.984 kB / 472 MB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.3088, allocations: 351.6 kB / 472.4 MB, free: 13.72 MB / 382.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.001519/0.3103, allocations: 0.9933 MB / 473.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009339/0.3112, allocations: 271.8 kB / 473.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.3115, allocations: 106.5 kB / 473.7 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09636/0.4079, allocations: 26.12 MB / 499.9 MB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.4079, allocations: 42.5 kB / 499.9 MB, free: 2.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.914e-06/0.4079, allocations: 0 / 499.9 MB, free: 2.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.00746/0.4154, allocations: 1.503 MB / 0.4897 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.4155, allocations: 110.8 kB / 0.4898 GB, free: 396 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.4156, allocations: 125.7 kB / 0.4899 GB, free: 260 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.4156, allocations: 29.7 kB / 0.4899 GB, free: 224 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/0.4157, allocations: 112.6 kB / 0.49 GB, free: 108 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.4158, allocations: 127 kB / 0.4901 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.416, allocations: 65.69 kB / 0.4902 GB, free: 15.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4161, allocations: 322.8 kB / 0.4905 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.4165, allocations: 143.6 kB / 0.4906 GB, free: 15.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004832/0.417, allocations: 194.8 kB / 0.4908 GB, free: 15.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009229/0.418, allocations: 346.6 kB / 0.4912 GB, free: 14.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.418, allocations: 0 / 0.4912 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001225/0.4192, allocations: 430 kB / 0.4916 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4192, allocations: 8 kB / 0.4916 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4192, allocations: 3.938 kB / 0.4916 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002572/0.4195, allocations: 36.83 kB / 0.4916 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005352/0.42, allocations: 92.03 kB / 0.4917 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004596/0.4205, allocations: 0.5446 MB / 0.4922 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.4208, allocations: 23.98 kB / 0.4923 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.4208, allocations: 15.98 kB / 0.4923 GB, free: 13.68 MB / 414.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.0001765/0.421, allocations: 137.7 kB / 0.4924 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.4211, allocations: 19.91 kB / 0.4924 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/0.4236, allocations: 1.498 MB / 0.4939 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.622e-05/0.4236, allocations: 19.91 kB / 0.4939 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4236, allocations: 4 kB / 0.4939 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.4236, allocations: 0 / 0.4939 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003305/0.4269, allocations: 1.908 MB / 0.4958 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.4269, allocations: 0 / 0.4958 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005168/0.4275, allocations: 87.98 kB / 0.4959 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003527/0.4278, allocations: 73.12 kB / 0.4959 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/0.4279, allocations: 15.98 kB / 0.4959 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004751/0.4283, allocations: 0.5875 MB / 0.4965 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4283, allocations: 8.094 kB / 0.4965 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/0.431, allocations: 1.745 MB / 0.4982 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.379e-05/0.4311, allocations: 59.64 kB / 0.4983 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.4311, allocations: 8 kB / 0.4983 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.4315, allocations: 15.98 kB / 0.4983 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.4316, allocations: 35.88 kB / 0.4983 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.4317, allocations: 23.98 kB / 0.4984 GB, free: 7.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.925e-05/0.4317, allocations: 87.28 kB / 0.4985 GB, free: 7.234 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4317, allocations: 0 / 0.4985 GB, free: 7.234 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002878/0.4346, allocations: 0.9747 MB / 0.4994 GB, free: 6.258 MB / 414.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.004694/0.4393, allocations: 1.148 MB / 0.5005 GB, free: 5.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.4409, allocations: 0.605 MB / 0.5011 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4409, allocations: 448 / 0.5011 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009047/0.4418, allocations: 477.1 kB / 0.5016 GB, free: 4.027 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008173/0.4427, allocations: 80.52 kB / 0.5016 GB, free: 3.949 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.4453, allocations: 1.346 MB / 0.503 GB, free: 2.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.4456, allocations: 212.2 kB / 0.5032 GB, free: 2.332 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003881/0.446, allocations: 137.7 kB / 0.5033 GB, free: 2.199 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.4461, allocations: 39.41 kB / 0.5033 GB, free: 2.16 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4461, allocations: 0 / 0.5033 GB, free: 2.16 MB / 414.1 MB Notification: Performance of Templates: time 0.2407/0.6868, allocations: 37 MB / 0.5395 GB, free: 109.6 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_4.1.0_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.21051961556077]